CVE-2026-47156: MantisBT Authentication Bypass Vulnerability
CRITICALCVE-2026-47156 is a CRITICAL authentication bypass vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting MantisBT libraries in the Packagist ecosystem. The issue involves soap api authentication bypass with privilege escalation to administrator. Remediation is available by upgrading affected packages to version 2.28.4.
CVE-2026-47156 at a Glance
How to Fix CVE-2026-47156
To remediate this vulnerability, upgrade all affected MantisBT dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade mantisbt/mantisbt to 2.28.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for mantisbt/mantisbt
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-47156, inspect your project dependencies for MantisBT:
inspect dependencies for mantisbt/mantisbt
Analyze the terminal output to locate any version of MantisBT in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.28.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In MantisBT, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-47156 Affected MantisBT Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mantisbt/mantisbt
|
Packagist |
< 2.28.4
|
2.28.4
|
References
Frequently Asked Questions
What is CVE-2026-47156?
Which MantisBT versions are affected?
What version fixes CVE-2026-47156?
Is mantisbt/mantisbt affected?
What CWE is associated with CVE-2026-47156?
How can I check Packagist dependencies for CVE-2026-47156?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c2xg-qjqw-2v98",
"modified" : "2026-07-15T16:45:22Z",
"published" : "2026-07-15T16:45:22Z",
"aliases" : [ "CVE-2026-47156" ],
"summary" : "MantisBT: SOAP API Authentication Bypass with Privilege Escalation to Administrator",
"details" : "MantisBT 2.28.3 and earlier contains a critical authentication bypass in the SOAP API's mci_check_login() function. Any user knowing any valid cookie_string can authenticate as any other user (knowing their username), including the administrator, without knowing the target's password.\n\nThe vulnerability is exploitable with zero prior access on default MantisBT installations because self-registration is enabled by default ($g_allow_signup = ON). A self-registered user can use their own cookie_string (readable from their browser's MANTIS_STRING_COOKIE cookie after login) to impersonate the administrator via the SOAP API.\n\nThe REST API is NOT affected. The REST API's AuthMiddleware derives the username server-side from the API token or session cookie, so the username cannot be spoofed.\n\nThe Web UI is NOT affected. The Web UI authenticates via PHP session cookies (PHPSESSID) and validates the MANTIS_STRING_COOKIE against the logged-in user through auth_is_cookie_valid(). The username is derived server-side from the cookie, not supplied by the client.\n\n### Impact\n- Full administrator access to the SOAP API from zero prior access (with self-registration enabled, which is the default)\n- Read/write all issues including private issues and notes across all projects\n- Full data exfiltration of all bug reports, attachments, user accounts (id, name, email), and non-private configuration values via the 71 SOAP operations available\n- Destructive operations: delete projects, issues, attachments, tags, categories, and versions\n- Data manipulation: create/modify issues, impersonate reporters, manage project structure\n- Chains with other vulnerabilities: the SOAP admin access enables exploitation of SOAP vulnerabilities that require administrator privileges\n\n### Patches\n- https://github.com/mantisbt/mantisbt/commit/e3571c319b1721b41b0dc4b5b5203cbdcbe0c2ee\n\n### Workarounds\nNone\n\n### Resources\n- https://mantisbt.org/bugs/view.php?id=37121\n\n### Credits\nMantisBT would like to thank McCaulay Hudson ([@_McCaulay](https://x.com/_mccaulay)) of [watchTowr](https://labs.watchtowr.com/) for originally identifying and responsibly reporting the issue.\n\nThe vulnerability was subsequently discovered by other researchers, while the team was working on fixing and preparing the release. MantisBT credits them here, in chronological order of their reports: \n- Keitaro Yamazaki (@tyage) \n- Harrison Keating (@voraci0us)\n- Chandler Johnson (@chndlrx)\n- Bharat Devasani (@bharatdevasani)",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "mantisbt/mantisbt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.28.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.28.3"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/mantisbt/mantisbt/security/advisories/GHSA-c2xg-qjqw-2v98"
}, {
"type" : "WEB",
"url" : "https://github.com/mantisbt/mantisbt/commit/e3571c319b1721b41b0dc4b5b5203cbdcbe0c2ee"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mantisbt/mantisbt"
}, {
"type" : "WEB",
"url" : "https://mantisbt.org/bugs/view.php?id=37121"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287", "CWE-639" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-15T16:45:22Z",
"nvd_published_at" : null
}
}