Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-47776

CVE-2025-47776: MantisBT Authentication Bypass Vulnerability

CVE-2025-47776 is an authentication bypass flaw in Mantis Bug Tracker caused by loose comparison in authentication code. Attackers can exploit PHP type juggling to access accounts. This post covers technical details, affected versions, impact, and mitigation.

Published: March 24, 2026

CVE-2025-47776 Overview

CVE-2025-47776 is an authentication bypass vulnerability in Mantis Bug Tracker (MantisBT), an open source issue tracker. The flaw stems from incorrect use of loose comparison (==) instead of strict comparison (===) in the authentication code. Due to PHP type juggling behavior, certain MD5 hashes matching scientific notation are interpreted as numbers rather than strings. This allows attackers who know a victim's username and have 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.

Critical Impact

Attackers can bypass authentication on MantisBT instances using the MD5 login method by exploiting PHP type juggling, potentially gaining unauthorized access to user accounts without valid credentials.

Affected Products

  • MantisBT versions 2.27.1 and below
  • MantisBT instances using MD5 login method
  • Self-hosted MantisBT deployments with vulnerable authentication configurations

Discovery Timeline

  • 2025-11-04 - CVE CVE-2025-47776 published to NVD
  • 2025-11-10 - Last updated in NVD database

Technical Details for CVE-2025-47776

Vulnerability Analysis

This vulnerability represents a classic PHP type juggling weakness in the authentication mechanism of MantisBT. The core issue resides in core/authentication_api.php, where password comparison logic uses PHP's loose comparison operator (==) instead of the strict comparison operator (===).

In PHP, loose comparison performs type coercion before comparing values. When MD5 hashes begin with 0e followed by digits (matching scientific notation format), PHP interprets these strings as floating-point numbers with a value of zero. Consequently, if both the stored password hash and the attacker-supplied password hash evaluate to zero (e.g., both start with 0e followed only by digits), they will be considered equal despite being different strings.

This vulnerability is exploitable on MantisBT instances configured to use MD5 password hashing. An attacker must know the target username and either control an account with a zero-evaluating hash or find a password that produces such a hash.

Root Cause

The root cause is the use of PHP's loose comparison operator (==) in the password verification logic within core/authentication_api.php. The vulnerable code compares the result of auth_process_plain_password() with the stored password hash using loose comparison, allowing PHP's type juggling to treat scientifically-notated hash strings as numeric zeros.

Attack Vector

The attack is network-based and requires no privileges or user interaction. An attacker can exploit this vulnerability remotely by:

  1. Identifying a MantisBT instance using MD5 authentication
  2. Targeting a user account whose password hash begins with 0e followed by numeric digits
  3. Submitting a password that also produces a 0e-prefixed hash (known as "magic hashes")
  4. The loose comparison evaluates both hashes as 0 == 0, returning true and granting access
php
// Vulnerable code (before patch)
foreach( $t_login_methods as $t_login_method ) {
	# pass the stored password in as the salt
	if( auth_process_plain_password( $p_test_password, $t_password, $t_login_method ) == $t_password ) {
		# Do not support migration to PLAIN, since this would be a crazy thing to do.
		# Also if we do, then a user will be able to login by providing the MD5 value
		# that is copied from the database.  See #8467 for more details.

// Fixed code (after patch)
foreach( $t_login_methods as $t_login_method ) {
	# pass the stored password in as the salt
	if( auth_process_plain_password( $p_test_password, $t_password, $t_login_method ) === $t_password ) {
		# Do not support migration to PLAIN, since this would be a crazy thing to do.
		# Also if we do, then a user will be able to login by providing the MD5 value
		# that is copied from the database.  See #8467 for more details.

Source: GitHub Commit 966554a

Detection Methods for CVE-2025-47776

Indicators of Compromise

  • Unusual successful login events for accounts with known vulnerable hash patterns
  • Multiple login attempts from different IP addresses for the same user account
  • Authentication logs showing successful logins without corresponding legitimate user activity
  • Database records containing password hashes starting with 0e followed by numeric digits

Detection Strategies

  • Implement web application firewall rules to monitor authentication endpoints for anomalous patterns
  • Review MantisBT authentication logs for successful logins that don't correlate with expected user behavior
  • Audit the MantisBT database for user accounts with password hashes matching the 0e[0-9]+ pattern
  • Deploy intrusion detection signatures to identify PHP type juggling attack patterns

Monitoring Recommendations

  • Enable verbose logging for MantisBT authentication events and forward to a centralized SIEM
  • Monitor for brute-force attempts targeting multiple accounts with similar password inputs
  • Set up alerts for successful authentications from unusual geographic locations or IP addresses
  • Periodically audit user accounts for password hashes vulnerable to type juggling attacks

How to Mitigate CVE-2025-47776

Immediate Actions Required

  • Upgrade MantisBT to version 2.27.2 or later immediately
  • Review authentication logs for evidence of exploitation prior to patching
  • Force password resets for any accounts with 0e-prefixed MD5 hashes
  • Consider migrating from MD5 to a stronger password hashing algorithm

Patch Information

The vulnerability is fixed in MantisBT version 2.27.2. The fix changes the password comparison from loose (==) to strict (===) comparison in core/authentication_api.php. The security patch is available in commit 966554a19cf1bdbcfbfb3004766979faa748f9a2. Review the GitHub Security Advisory GHSA-4v8w-gg5j-ph37 for complete details.

Workarounds

  • If immediate upgrade is not possible, manually apply the patch by changing == to === in the authentication comparison logic
  • Disable MD5 login method and migrate to a more secure authentication mechanism
  • Implement additional authentication controls such as multi-factor authentication
  • Restrict network access to the MantisBT login endpoint to trusted IP ranges
bash
# Configuration example
# Check your current MantisBT version
grep -r "MANTIS_VERSION" /path/to/mantisbt/core/constant_inc.php

# Verify the authentication file has been patched
grep -n "===" /path/to/mantisbt/core/authentication_api.php | grep auth_process_plain_password

# Force password resets for potentially vulnerable accounts (run in MantisBT database)
# SELECT user_id, username FROM mantis_user_table WHERE password REGEXP '^0e[0-9]+$';

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechMantisbt

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-305
  • Vendor Resources
  • GitHub Commit Overview

  • GitHub Security Advisory GHSA-4v8w-gg5j-ph37
  • Related CVEs
  • CVE-2026-30849: MantisBT SOAP API Auth Bypass Vulnerability

  • CVE-2026-33517: MantisBT Tag Deletion XSS Vulnerability

  • CVE-2026-33548: MantisBT Timeline XSS Vulnerability

  • CVE-2025-46556: MantisBT Denial of Service Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English