CVE-2026-68522
QPixel is a Q&A-based community knowledge-sharing software.
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data being read.
Affected products · Codidact
| Product | Affected versions |
|---|---|
| Qpixel | before 0.13.0 Version < 0.13.0 |
Weakness classification
References
- NVD record
- CVE.org record
- https://github.com/codidact/qpixel/security/advisories/GHSA-9mhx-jr3h-2cvf
- https://github.com/codidact/qpixel/pull/2080
- https://github.com/codidact/qpixel/commit/78240c7bca374b50047455bade7f3596887ee782
- https://github.com/codidact/qpixel/commit/d4d49b640c4b70f931e84a1d137acb93a1703867
- https://github.com/codidact/qpixel/releases/tag/v0.13.0