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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-27 · Modified: 2026-08-28
- Aliases: UBUNTU-CVE-2026-81525, DEBIAN-CVE-2026-81525
- Record: https://cvemate.com/vulnerability/CVE-2026-81525 · JSON: https://cvemate.com/vulnerability/CVE-2026-81525/json

## Description

```text
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.
```

## Signals

- CVSS: 8.6 high (v4.0, CVE.org) 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
- EPSS: 0.398%, percentile 36.11%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian php-mongodb (Debian): All versions (No fix recorded)
- ubuntu php-mongodb (Ubuntu): All versions (No fix recorded)
- mongodb php driver: \< 1.21.6 \| ≥ 2.0.0, \< 2.4.1
- mongodb php extension: \< 1.21.6 \| ≥ 2.0.0, \< 2.4.1
- mongodb php\_library: \< 1.21.4 \| ≥ 2.0.0, \< 2.4.1

## References

- <https://jira.mongodb.org/browse/PHPLIB-1927>
- <https://github.com/mongodb/mongo-php-library/releases/tag/1.21.4>
- <https://github.com/mongodb/mongo-php-library/releases/tag/2.4.1>
- <https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.6>
- <https://github.com/mongodb/mongo-php-driver/releases/tag/2.4.1>
- <https://ubuntu.com/security/CVE-2026-81525>
- <https://www.cve.org/CVERecord?id=CVE-2026-81525>
- <https://security-tracker.debian.org/tracker/CVE-2026-81525>

---

Data as of 2026-12-05T05:06:41.434Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
