Skip to content
OpenAdvisories
High · 8.8 CVE-2025-47776 EUVD-2025-37510GHSA-4v8w-gg5j-ph37

MantisBT: Authentication bypass for some passwords due to PHP type juggling

Published Nov 4, 2025 · Updated Nov 5, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
mantisbt mantisbt < 2.27.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist mantisbt/mantisbt < 2.27.2 2.27.2 GHSA-4v8w-gg5j-ph37

References