CVE-2026-42071: MantisBT has a Private Bugnote Attachment Content Leak via REST API
A missing authorization check in MantisBT’s file visibility function allows any authenticated user (REPORTER+) to download attachments on private bugnotes they should not be able to access, via the REST API endpoint GET /api/rest/issues/{id}/files and SOAP API mc_issue_attachment_get endpoint.
References
- github.com/advisories/GHSA-pw5x-2mf9-3xc8
- github.com/advisories/GHSA-xjmx-cprh-646r
- github.com/mantisbt/mantisbt/commit/029d9d203d9e4ae96b3e59d552fa7395cc1e5071
- github.com/mantisbt/mantisbt/security/advisories/GHSA-pw5x-2mf9-3xc8
- mantisbt.org/bugs/view.php?id=27039
- mantisbt.org/bugs/view.php?id=36985
- mantisbt.org/bugs/view.php?id=37092
- nvd.nist.gov/vuln/detail/CVE-2026-42071
Code Behaviors & Features
Detect and mitigate CVE-2026-42071 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →