Skip to content
MongoDBGHSA-r58q-vf9r-vxfc

Cross-database write redirection via unvalidated dotted database name in bulk write namespaces

Medium6.5CVE-2026-81526 · Published Aug 27, 2026

### Impact The MongoDB Rust Driver does not neutralize special characters in a caller-supplied target identifier before embedding it in the request it sends to the server. An actor able to influence that identifier in an application using the driver may cause write operations to be applied to an unintended target within the same deployment using the application's own credentials. This may result in unauthorized modification of data belonging to another logical boundary enforced by the application. ### Patches Database and collection names are validated in version 3.8.2 and higher. ### Workarounds Validate the database and collection names before passing to driver. ### References [RUST-2467](https://jira.mongodb.org/browse/RUST-2467), [Fix](https://github.com/mongodb/mongo-rust-driver/pull/1778/changes/3334082d83ad76c7a412ac01a46bf2de92a2b9e4), [CVE](https://www.cve.org/CVERecord?id=CVE-2026-81526)

GitHub advisory

Affected versions

PackageAffectedFixed in
mongodb
crates.io
>= 3.0.0, < 3.8.23.8.2
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-74

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.