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

CVE-2025-47776 · Severity: critical · CVSS 9.1 · Published 2025-11-04

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.

Technologies: MantisBT, mantisbt/mantisbt (Packagist). Vendors: MantisBT, Packagist.

Quick answers

Is CVE-2025-47776 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-47776 being exploited in the wild.
How severe is CVE-2025-47776?
Critical severity, with a CVSS score of 9.1, published 4 November 2025.
Which products and versions are affected?
mantisbt/mantisbt (Packagist) ECOSYSTEM:introduced=0,fixed=2.27.2.
Is there a fix for CVE-2025-47776?
Yes. mantisbt/mantisbt (Packagist): upgrade to 2.27.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-47776?
Check whether you run MantisBT or mantisbt/mantisbt (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • mantisbt/mantisbt (Packagist): upgrade to 2.27.2 or later
    composer require mantisbt/mantisbt:^2.27.2

Affected products

  • MantisBT
  • mantisbt/mantisbt (Packagist) ECOSYSTEM:introduced=0,fixed=2.27.2

Identifiers

  • CVE-2025-47776
  • GHSA-4v8w-gg5j-ph37

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.