CVE-2026-81525

published 27 Aug 2026 · updated 28 Aug 2026

Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver

8.1HighCVSS 8.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in PHP Extension 1.21.6, PHP Extension 2.4.1, PHP Library 1.21.4 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBPHP Extension<1.21.6, >=2.0.0 <2.4.11.21.6, 2.4.1
MongoDBPHP Library<1.21.4, >=2.0.0 <2.4.11.21.4, 2.4.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-81525 severity on Zeptric[![CVE-2026-81525](https://zeptric.io/badge/cve/CVE-2026-81525.svg)](https://zeptric.io/cve/CVE-2026-81525)