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

Source: https://junglewise.ai/threats/cve-2025-47776-mantisbt-vulnerable-to-authentication-bypass-for-some-passwords  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-11-04  
License: CC BY 4.0 with a link back

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](https://junglewise.ai/threats/technologies/mantisbt), [mantisbt/mantisbt (Packagist)](https://junglewise.ai/threats/technologies/mantisbt-mantisbt). Vendors: [MantisBT](https://junglewise.ai/threats/vendors/mantisbt), [Packagist](https://junglewise.ai/threats/vendors/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

  ```sh
  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

## Related threats

- [MantisBT authentication bypass in SOAP API](https://junglewise.ai/threats/cve-2026-47156-mantisbt-authentication-bypass-in-soap-api)
- [MantisBT stored XSS in print_all_bug_page_word.php](https://junglewise.ai/threats/cve-2026-62944-mantisbt-stored-xss-in-print-all-bug-page-word-php)
- [MantisBT improper input validation in REST and SOAP APIs](https://junglewise.ai/threats/cve-2026-52883-mantisbt-improper-input-validation-in-rest-and-soap-apis)
- [MantisBT authorization bypass in REST and SOAP APIs](https://junglewise.ai/threats/cve-2026-52882-mantisbt-authorization-bypass-in-rest-and-soap-apis)
- [MantisBT reflected XSS in admin/install.php](https://junglewise.ai/threats/cve-2026-52881-mantisbt-reflected-xss-in-admin-install-php)
