CVE-2026-81525

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

Published Aug 27, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-65fr-j4p9-vc33 mongodb: Reject "." and NUL bytes in database and collection names
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mongodb php Driver
CPEs cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*
cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:*
Vendors & Products Mongodb php Driver
Type Values Removed Values Added
First Time appeared Mongodb
Mongodb php Extension
Mongodb php Library
Vendors & Products Mongodb
Mongodb php Extension
Mongodb php Library
Type Values Removed Values Added
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.
Title Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver
Weaknesses CWE-943
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.6, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Aug 28, 2026, 3:49 PM
Reserved
Aug 26, 2026, 10:14 PM
Status
Analyzed
Published
Aug 27, 2026, 8:18 PM
Modified
Sep 29, 2026, 7:17 PM