GHSA-pw5x-2mf9-3xc8

Suggest an improvement
Source
https://github.com/advisories/GHSA-pw5x-2mf9-3xc8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-pw5x-2mf9-3xc8/GHSA-pw5x-2mf9-3xc8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pw5x-2mf9-3xc8
Aliases
  • CVE-2026-42071
Published
2026-05-11T19:39:43Z
Modified
2026-05-11T19:48:53.401635Z
Severity
  • 7.2 (High) CVSS_V4 - 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 CVSS Calculator
Summary
MantisBT has a Private Bugnote Attachment Content Leak via REST API
Details

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 mcissueattachment_get endpoint.

Impact

  • REPORTER (access level 25) can view file attachments that were uploaded to private bugnotes by DEVELOPER/MANAGER/ADMIN users
  • Private bugnotes are intended for internal developer discussion; their attachments (logs, screenshots, patches) should be equally protected
  • The web UI is NOT affected — it filters through bugnotegetallvisiblebugnotes() first

Patches

  • 029d9d203d9e4ae96b3e59d552fa7395cc1e5071

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 - Tang Cheuk Hei (@siunam321)

This advisory's contents was largely copied from Tristan's well-written report.

Database specific
{
    "github_reviewed": true,
    "severity": "HIGH",
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-862"
    ],
    "github_reviewed_at": "2026-05-11T19:39:43Z"
}
References

Affected packages

Packagist / mantisbt/mantisbt

Package

Name
mantisbt/mantisbt
Purl
pkg:composer/mantisbt/mantisbt

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.23.0
Fixed
2.28.2

Affected versions

2.*
2.23.0
2.23.1
2.24.0
2.24.1
2.24.2
2.24.3
2.24.4
2.24.5
2.25.0
2.25.1
2.25.2
2.25.3
2.25.4
2.25.5
2.25.6
2.25.7
2.25.8
2.26.0
2.26.1
2.26.2
2.26.3
2.26.4
2.27.0
2.27.1
2.27.2
2.27.3
2.28.0
2.28.1

Database specific

last_known_affected_version_range
"<= 2.28.1"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-pw5x-2mf9-3xc8/GHSA-pw5x-2mf9-3xc8.json"