CVE-2025-47776 MantisBT: Authentication bypass for some passwords due to PHP type juggling

High 8.8 Published Updated

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.

PackageAffectedFixed in
mantisbt/mantisbt PackagistAll versions2.27.2
mantisbt/mantisbt PackagistAll versions2.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.

All Mantisbt Mantisbt vulnerabilities

Sources

Also known as GHSA-4v8w-gg5j-ph37.

Is CVE-2025-47776 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free