GHSA-pq86-j2c2-47f6
MantisBT: Authorization Bypass in Bugnote Editing via Issue Update API
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | mantisbt/mantisbt | < 2.28.2 | 2.28.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
The mc_issue_update() function in MantisBT allows users having *update_bug_threshold* access (UPDATER, with default settings) to edit, change view state, and modify time tracking on bugnotes belonging to other users — bypassing the default DEVELOPER (level 55) threshold required by the dedicated mc_issue_note_update() function.
### Impact
1. UPDATER can edit notes by DEVELOPER/MANAGER/ADMIN — bypassing the DEVELOPER threshold
2. UPDATER can change private notes to public — exposing confidential internal discussion
3. UPDATER can change public notes to private — hiding information from reporters/viewers
### Patches
- 6e58fae4f22efdc3987f903c8ba2611de17a9435
### Workarounds
None
### Credits
Thanks to the following security researchers for independently discovering and responsibly reporting the issue.
- Vishal Shukla
- Tristan Madani (@TristanInSec) from Talence Security
This advisory's contents was largely copied from Tristan's well-written report.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/mantisbt/mantisbt/security/advisories/GHSA-pq86-j2c2-47f6
- https://nvd.nist.gov/vuln/detail/CVE-2026-42070
- https://github.com/mantisbt/mantisbt/commit/6e58fae4f22efdc3987f903c8ba2611de17a9435
- https://github.com/mantisbt/mantisbt
- https://mantisbt.org/bugs/view.php?id=37089
- https://mantisbt.org/bugs/view.php?id=37093