{"id":"CVE-2026-81525","published":"2026-08-27T18:32:26Z","modified":"2026-08-28T15:49:03Z","title":"Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver","vendor":"MongoDB","product":"PHP Library","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00489,"percentile":0.34802,"provenance":"source"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"}],"references":[{"url":"https://jira.mongodb.org/browse/PHPLIB-1927","tags":[]},{"url":"https://github.com/mongodb/mongo-php-library/releases/tag/1.21.4","tags":[]},{"url":"https://github.com/mongodb/mongo-php-library/releases/tag/2.4.1","tags":[]},{"url":"https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.6","tags":[]},{"url":"https://github.com/mongodb/mongo-php-driver/releases/tag/2.4.1","tags":[]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":6.96},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB","product":"PHP Library","versions":["< 1.21.4",">= 2.0.0, < 2.4.1"]},{"vendor":"MongoDB","product":"PHP Extension","versions":["< 1.21.6",">= 2.0.0, < 2.4.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-28T15:48:47.805241Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"mongodb/mongodb","vulnerableRanges":["<1.21.4",">=2.0.0, <2.4.1"],"patched":["1.21.4","2.4.1"],"from":["GHSA-65fr-j4p9-vc33"],"provenance":"source"}],"summary":{"text":"The MongoDB PHP Library fails to adequately sanitize special characters in application-supplied namespace identifiers before building the target namespace for database operations. An attacker able to influence that text can redirect operations to a different database or collection than the application intended, provided the application incorporates untrusted input into these identifiers, the attacker has network access and low-privilege authentication, and no user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:45Z"},"euvd":{"id":"EUVD-2026-67209","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-32050","published":"2023-08-29","fixed":"1.9.2","kev":false},{"cve":"CVE-2026-81525","published":"2026-08-27","fixed":"2.4.1","kev":false},{"cve":"CVE-2026-88023","published":"2026-09-10","fixed":"2.4.2","kev":false,"link":{"from":"CVE-2026-81525","to":"CVE-2026-88023","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:mongodb/mongodb","fromFixed":"1.21.4","toFixed":"1.21.5","daysApart":14},{"kind":"version-step","provenance":"source","package":"Packagist:mongodb/mongodb","fromFixed":"2.4.1","toFixed":"2.4.2","daysApart":14}]}}],"package":"Packagist:mongodb/mongodb"}}