CVE-2025-47776 MantisBT: Authentication bypass for some passwords due to PHP type juggling
Attackers can bypass authentication in MantisBT using PHP type juggling if MD5 login is enabled, allowing unauthorized access to user accounts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-47776?
CVE-2025-47776 is a high-severity authentication bypass vulnerability in Mantisbt Mantisbt, published on 4 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Mantis Bug Tracker (MantisBT) is an open source issue tracker. Due to incorrect use of loose (==) instead of strict (===) comparison in the authentication code in versions 2.27.1 and below.PHP type juggling will cause certain MD5 hashes matching scientific notation to be interpreted as numbers. Instances using the MD5 login method allow an attacker who knows the victim's username and has access to an account with a password hash that evaluates to zero to log in without knowing the victim's actual password, by using any other password with a hash that also evaluates to zero This issue is fixed in version 2.27.2.
Weakness: CWE-305
Which versions are affected by CVE-2025-47776?
2 open source packages ship an affected version, including mantisbt/mantisbt. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mantisbt/mantisbt Packagist | All versions | 2.27.2 |
mantisbt/mantisbt Packagist | All versions | 2.27.2 |
Products include Mantisbt Mantisbt.
How do I fix CVE-2025-47776?
Upgrade mantisbt/mantisbt to 2.27.2 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2025-47776 being exploited?
There is no known exploitation of CVE-2025-47776 in the wild and no public exploit code.
Other vulnerabilities in Mantisbt Mantisbt
- CVE-2019-15074 MantisBT allows cross-site scripting (XSS) via crafted filename
- CVE-2026-30849 MantisBT SOAP API has an authentication bypass vulnerability on MySQL
- CVE-2017-7615 MantisBT allows arbitrary password reset
- CVE-2026-33517 MantisBT Vulnerable to Stored HTML Injection in Tag Delete Confirmation
- CVE-2026-33548 MantisBT has Stored HTML Injection / XSS when displaying Tags in Timeline
Sources
Also known as GHSA-4v8w-gg5j-ph37.