{"id":"CVE-2026-81525","state":"PUBLISHED","title":"Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver","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.","publishedAt":"2026-08-27T18:32:26.493Z","updatedAt":"2026-08-28T15:49:03.964Z","severity":{"score":8.6,"label":"High","version":"4.0","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","source":"mongodb"},"assigner":"mongodb","products":["MongoDB PHP Library","MongoDB PHP Extension"],"affected":[{"vendor":"MongoDB","product":"PHP Library","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.21.4","versionType":"semver"},{"version":"2.0.0","status":"affected","lessThan":"2.4.1","versionType":"semver"}]},{"vendor":"MongoDB","product":"PHP Extension","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.21.6","versionType":"semver"},{"version":"2.0.0","status":"affected","lessThan":"2.4.1","versionType":"semver"}]}],"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"],"weaknesses":["CWE-943"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/81xxx/CVE-2026-81525.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-81525","state":"PUBLISHED","datePublished":"2026-08-27T18:32:26.493Z","dateUpdated":"2026-08-28T15:49:03.964Z","assignerShortName":"mongodb","assignerOrgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateReserved":"2026-08-26T22:14:05.297Z"},"containers":{"cna":{"title":"Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"MongoDB","product":"PHP Library","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.21.4","versionType":"semver"},{"version":"2.0.0","status":"affected","lessThan":"2.4.1","versionType":"semver"}]},{"vendor":"MongoDB","product":"PHP Extension","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.21.6","versionType":"semver"},{"version":"2.0.0","status":"affected","lessThan":"2.4.1","versionType":"semver"}]}],"references":[{"url":"https://jira.mongodb.org/browse/PHPLIB-1927"},{"url":"https://github.com/mongodb/mongo-php-library/releases/tag/1.21.4"},{"url":"https://github.com/mongodb/mongo-php-library/releases/tag/2.4.1"},{"url":"https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.6"},{"url":"https://github.com/mongodb/mongo-php-driver/releases/tag/2.4.1"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.6,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseSeverity":"HIGH","baseScore":8.1,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-943","lang":"en","description":"CWE-943: Improper Neutralization of Special Elements in Data Query Logic","type":"CWE"}]}],"providerMetadata":{"shortName":"mongodb","orgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateUpdated":"2026-08-27T20:42:01.763Z"},"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.4"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-28T15:48:47.805241Z","id":"CVE-2026-81525","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-28T15:49:03.964Z"}}]}}}