# CVE-2026-81525: Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver

- Severity: High 8.6 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-08-27T18:32:26.493Z
- Modified: 2026-09-29T19:17:04.850Z
- Also known as: GHSA-65fr-j4p9-vc33
- Weaknesses: CWE-943
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mongodb

## Description

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.

(As written by CVE List.)

## Affected

- MongoDB PHP Library: before 1.21.4; from 2.0.0 before 2.4.1
- MongoDB PHP Extension: before 1.21.6; from 2.0.0 before 2.4.1
- mongodb/mongodb (Packagist): before 1.21.4; from 2.0.0 before 2.4.1
- mongodb php_driver: before 1.21.6; from 2.0.0 before 2.4.1
- mongodb php_library: before 1.21.4; from 2.0.0 before 2.4.1

## Every score

- mongodb: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://jira.mongodb.org/browse/PHPLIB-1927> (vendor-advisory, web)
- <https://github.com/mongodb/mongo-php-library/releases/tag/1.21.4> (product, release-notes, web)
- <https://github.com/mongodb/mongo-php-library/releases/tag/2.4.1> (product, release-notes, web)
- <https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.6> (product, release-notes, web)
- <https://github.com/mongodb/mongo-php-driver/releases/tag/2.4.1> (product, release-notes, web)
- <https://github.com/mongodb/mongo-php-library/security/advisories/GHSA-65fr-j4p9-vc33> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-81525> (advisory)
- <https://github.com/mongodb/mongo-php-library/pull/1967> (web)
- <https://github.com/mongodb/mongo-php-library/pull/1968> (web)
- <https://github.com/mongodb/mongo-php-library/commit/3a462213bb4fd46efa58a1937b06b1b0553b67a7> (web)
- <https://github.com/mongodb/mongo-php-library/commit/6f305a3b21740080255a3093b12458274c7cc8ca> (web)
- <https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.7> (web)
- <https://github.com/mongodb/mongo-php-library> (package)

## Sources

- CVE List: [CVE-2026-81525](https://www.cve.org/CVERecord?id=CVE-2026-81525), CVE Terms of Use, modified 2026-08-28
- GitHub Advisory Database: [GHSA-65fr-j4p9-vc33](https://github.com/advisories/GHSA-65fr-j4p9-vc33), CC-BY-4.0, modified 2026-09-08
- NVD: [CVE-2026-81525](https://nvd.nist.gov/vuln/detail/CVE-2026-81525), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2026-81525 · Whole record: https://cve.day/CVE-2026-81525.json · Rebuilt by cve.day 2026-11-25T22:59:35.543Z
