Skip to content
MongoDBGHSA-65fr-j4p9-vc33

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

High8.1CVE-2026-81525 · Published Aug 27, 2026

### Impact Passing untrusted input as part of a database or collection name may result in targeting a different database or collection than specified. ### Patches Fixed in PHP library 1.21.4 and 2.4.1. ### Workarounds Validate database and collection names prior to passing into APIs. ### References https://jira.mongodb.org/browse/PHPLIB-1927

GitHub advisory

Affected versions

PackageAffectedFixed in
mongodb/mongodb
Product
< 1.21.41.21.4
>= 2.0.0, < 2.4.12.4.1
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Severity from
GitHub (reviewed advisory)

More MongoDB advisories

All MongoDB

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.