View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0036976 | mantisbt | security | public | 2026-03-16 13:41 | 2026-05-09 19:56 |
| Reporter | ninjasec | Assigned To | dregad | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.28.1 | ||||
| Target Version | 2.28.2 | Fixed in Version | 2.28.2 | ||
| Summary | 0036976: CVE-2026-34754: Authorization Bypass Allows Uploading Attachments to Private Issues via REST | ||||
| Description | MantisBT permits an authenticated user to upload an attachment to a private issue they are not authorized to view.
Affected Components
Root Cause For existing issues, file_allow_bug_upload() evaluates:
This does not enforce private-issue access controls. The authorization decision should be tied to the target issue, not just the project. | ||||
| Steps To Reproduce | Reproduction
| ||||
| Additional Information | Patch
Clean Final Code
In short:
| ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
|
Vulnerability is confirmed. Thanks for the detailed analysis and proposed patch. Advisory created https://github.com/mantisbt/mantisbt/security/advisories/GHSA-h4x5-gvx6-3rwc and CVE request sent. |
|
|
Proposed patch is available at https://github.com/mantisbt/mantisbt-ghsa-fvjf-68wh-rwp2/pull/1/commits/8f163016990cbcd13294e6a95a3de6ec66ffb912 (note that the private repo is linked to another advisory; I did that to minimize effort as I'm working on several security issues from the same researcher in parallel). |
|
|
CVE-2026-34754 assigned |
|
|
MantisBT: master-2.28 b262b4d2 2026-03-30 13:32 Details Diff |
Prevent unauthorized attachment upload via REST file_allow_project_upload() has been modified to check access for upload_bug_file_threshold against - project for new issues - bug for existing issues Fixes 0036976, GHSA-h4x5-gvx6-3rwc |
Affected Issues 0036976 |
|
| mod - core/file_api.php | Diff File | ||