{"id":"CVE-2026-81525","aliases":["GHSA-65fr-j4p9-vc33"],"url":"https://o3.security/vulnerability/CVE-2026-81525","summary":"Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver","details":"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.","published":"2026-08-27T18:32:26.493Z","modified":"2026-10-01T03:47:39.221208826Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Packagist","name":"mongodb/mongodb","fixedVersion":"1.21.4"},{"ecosystem":"Packagist","name":"mongodb/mongodb","fixedVersion":"2.4.1"}],"fix":{"url":"https://github.com/mongodb/mongo-php-library/pull/1967","label":"mongodb/mongo-php-library#1967"},"references":[{"type":"WEB","url":"https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.6"},{"type":"WEB","url":"https://github.com/mongodb/mongo-php-driver/releases/tag/2.4.1"},{"type":"WEB","url":"https://github.com/mongodb/mongo-php-library/releases/tag/1.21.4"},{"type":"WEB","url":"https://github.com/mongodb/mongo-php-library/releases/tag/2.4.1"},{"type":"WEB","url":"https://jira.mongodb.org/browse/PHPLIB-1927"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81525.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81525"},{"type":"WEB","url":"https://github.com/mongodb/mongo-php-library/security/advisories/GHSA-65fr-j4p9-vc33"},{"type":"WEB","url":"https://github.com/mongodb/mongo-php-library/pull/1967"},{"type":"WEB","url":"https://github.com/mongodb/mongo-php-library/pull/1968"},{"type":"WEB","url":"https://github.com/mongodb/mongo-php-library/commit/3a462213bb4fd46efa58a1937b06b1b0553b67a7"},{"type":"WEB","url":"https://github.com/mongodb/mongo-php-library/commit/6f305a3b21740080255a3093b12458274c7cc8ca"},{"type":"WEB","url":"https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.7"},{"type":"PACKAGE","url":"https://github.com/mongodb/mongo-php-library"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-01T03:47:39.221208826Z"}}