CVE-2026-81525: The MongoDB client library for PHP does not sufficiently sanitize special elements in application-supplied nam
CVE-2026-81525 is a high-severity flaw (CVSS 8.1) affecting php driver, php library. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.5% (top 58%) |
| CISA exploited list | No |
| Weakness | CWE-943 |
| Published | 2026-08-27 |
| Last modified | 2026-09-29 |
Last updated 2026-09-29 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-81525?
php driver: upgrade to 1.21.6, 2.4.1; php library: upgrade to 1.21.4, 2.4.1. Exact commands for each OS are on this page.
Is CVE-2026-81525 being exploited?
CVE-2026-81525 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-81525 affect?
CVE-2026-81525 affects php driver, php library. Severity is high (CVSS 8.1). 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 u
How urgent is CVE-2026-81525?
Priority 39/100. High severity
Software pages
PHP vulnerabilities · MongoDB vulnerabilities
Related CVEs
- CVE-2026-6811 MEDIUM 5.9 UPGRADE Stack exhaustion vulnerability in the MongoDB PHP driver can cause application crashes when processing deeply
- CVE-2026-106436 MEDIUM 4.8 UPGRADE The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson'
- CVE-2026-106432 LOW 3.6 UPGRADE The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation
- CVE-2026-84968 MEDIUM 5.3 UPGRADE An out-of-bounds read in the BSON decoding component of the MongoDB PHP driver may allow an unauthenticated pa