CVE-2026-68522
QPixel: Unauthenticated cross-community comment disclosure via Comment.unscoped bypassing tenant and deletion checks
- CVSS
- 6.9
- EPSS
- 0.58% (p49)
- Published
- 2026-11-18
- Age
- 16d old
- Modified
- 2026-11-23
- Product
- codidact qpixel
- Aliases
- GHSA-9mhx-jr3h-2cvf
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Description
QPixel is a Q&A-based community knowledge-sharing software. Prior to 0.13.0, the unauthenticated comments#show action in app/controllers/comments_controller.rb resolves user-controlled comment IDs with Comment.unscoped, bypassing the Comment community default scope, and performs no deletion or post-visibility authorization check. A remote unauthenticated attacker can enumerate sequential IDs and read the full content of comments belonging to other communities, soft-deleted comments, and comments under access-restricted categories. The JSON response exposes the stored comment columns because the model has no limiting as_json override. This issue is fixed in version 0.13.0.
Sources
- NVD · first seen 16d ago · NVD terms of use
- OSV · first seen 16d ago · CC-BY 4.0
- CVE List · first seen 16d ago · CVE Terms of Use
References
- https://github.com/codidact/qpixel/security/advisories/GHSA-9mhx-jr3h-2cvf x_refsource_CONFIRM
- https://github.com/codidact/qpixel/pull/2080 x_refsource_MISC
- https://github.com/codidact/qpixel/commit/78240c7bca374b50047455bade7f3596887ee782 x_refsource_MISC
- https://github.com/codidact/qpixel/commit/d4d49b640c4b70f931e84a1d137acb93a1703867 x_refsource_MISC
- https://github.com/codidact/qpixel/releases/tag/v0.13.0 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68522.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-68522 advisory