CVE-2026-81525
Published:August 27, 2026
Updated:September 24, 2026
The MongoDB client library for PHP does not sufficiently sanitize special elements in application-supplied namespace identifiers before using them to construct the target namespace for database operations. An application that incorporates untrusted text into these identifiers may have operations silently directed at a different storage location than the one the application intended.
Affected Packages
https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=2.0.0 <2.4.1Fix Suggestion:
Update to version 2.4.1https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=1.0.0 <1.21.6Fix Suggestion:
Update to version 1.21.6https://github.com/mongodb/mongo-php-library.git (GITHUB):
Affected version(s) >=1.0.0 <1.21.4Fix Suggestion:
Update to version 1.21.4https://github.com/mongodb/mongo-php-library.git (GITHUB):
Affected version(s) >=2.0.0 <2.4.1Fix Suggestion:
Update to version 2.4.1mongodb/mongodb (PHP):
Affected version(s) >=dev-agg-builder <1.21.4Fix Suggestion:
Update to version 1.21.4mongodb/mongodb (PHP):
Affected version(s) >=1.0.0 <1.21.4Fix Suggestion:
Update to version 1.21.4mongodb/mongodb (PHP):
Affected version(s) >=2.0.0 <2.4.1Fix Suggestion:
Update to version 2.4.1Related Resources (14)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements in Data Query Logic
EPSS
Base Score:
0.27