{"id":"CVE-2026-42071","aliases":["CVE-2026-42071","GHSA-pw5x-2mf9-3xc8"],"related":[],"kind":"vulnerability","state":"published","title":"MantisBT: Private Bugnote Attachment Content Leak via REST API","summary":"Mantis Bug Tracker (MantisBT) is an open source issue tracker. From 2.23.0 to 2.28.1, 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. This vulnerability is fixed in 2.28.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Mantis Bug Tracker (MantisBT) is an open source issue tracker. From 2.23.0 to 2.28.1, 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. This vulnerability is fixed in 2.28.2.","source":"cvelist"},{"lang":"en","text":"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.\n\n### Impact\n- REPORTER (access level 25) can view file attachments that were uploaded to private bugnotes by DEVELOPER/MANAGER/ADMIN users\n- Private bugnotes are intended for internal developer discussion; their attachments (logs, screenshots, patches) should be equally protected\n- The web UI is NOT affected — it filters through bugnote_get_all_visible_bugnotes() first\n\n### Patches\n- 029d9d203d9e4ae96b3e59d552fa7395cc1e5071\n\n### Workarounds\nNone\n\n### Credits\nThanks to the following security researchers for independently discovering and responsibly reporting the issue.\n- Vishal Shukla \n- Tristan Madani (@TristanInSec) from Talence Security \n- Tang Cheuk Hei (@siunam321) \n\nThis advisory's contents was largely copied from Tristan's well-written report.","format":"markdown","source":"ghsa"}],"published":"2026-05-11T19:39:43.000Z","modified":"2026-09-10T03:51:06.756Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"version":">= 2.23.0, < 2.28.2","status":"affected"}],"vendor":"mantisbt","product":"mantisbt","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.23.0","status":"affected","fixed":"2.28.2"}],"ecosystem":"Packagist","package":"mantisbt/mantisbt","purl":"pkg:composer/mantisbt/mantisbt","source":"ghsa"}],"references":[{"url":"https://github.com/mantisbt/mantisbt/security/advisories/GHSA-pw5x-2mf9-3xc8","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mantisbt/mantisbt/commit/029d9d203d9e4ae96b3e59d552fa7395cc1e5071","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://mantisbt.org/bugs/view.php?id=27039","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://mantisbt.org/bugs/view.php?id=36985","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://mantisbt.org/bugs/view.php?id=37092","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42071","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-xjmx-cprh-646r","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mantisbt/mantisbt","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-29T13:56:42.128Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42071","url":"https://www.cve.org/CVERecord?id=CVE-2026-42071","licence":"CVE Terms of Use","modified":"2026-05-29T13:56:52.065Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pw5x-2mf9-3xc8","url":"https://github.com/advisories/GHSA-pw5x-2mf9-3xc8","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:06.756Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42071","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42071","licence":"Public domain","modified":"2026-06-17T10:47:23.200Z"}],"updatedAt":"2026-11-25T22:59:23.042Z","epss":{"score":0.0026,"percentile":0.18965,"date":"2026-12-01T12:00:22.000Z"}}