Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. mantisbt/mantisbt
  4. ›
  5. CVE-2026-47156

CVE-2026-47156: MantisBT: SOAP API Authentication Bypass with Privilege Escalation to Administrator

July 15, 2026 (updated July 16, 2026)

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.

The 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.

The 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.

The 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.

References

  • github.com/advisories/GHSA-c2xg-qjqw-2v98
  • github.com/mantisbt/mantisbt/commit/e3571c319b1721b41b0dc4b5b5203cbdcbe0c2ee
  • github.com/mantisbt/mantisbt/security/advisories/GHSA-c2xg-qjqw-2v98
  • mantisbt.org/bugs/view.php?id=37121
  • nvd.nist.gov/vuln/detail/CVE-2026-47156

Code Behaviors & Features

Detect and mitigate CVE-2026-47156 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 →

Affected versions

All versions before 2.28.4

Fixed versions

  • 2.28.4

Solution

Upgrade to version 2.28.4 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication
  • CWE-639: Authorization Bypass Through User-Controlled Key

Source file

packagist/mantisbt/mantisbt/CVE-2026-47156.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 10 Aug 2026 00:16:58 +0000.