CVEfocus › CVE database › CVE-2026-81521

CVE-2026-81521Cross-database write retargeting via unvalidated dotted database name in…

CVSS 6.5 MediumEPSS 0.4% (higher than 26% of CVEs)Published 2026-08-27Updated 2026-11-25Assigner: mongodb

The MongoDB Go Driver's client-level bulk write operation may accept a caller-supplied database name containing a reserved separator character without escaping it before the name is used to build the target namespace for the operation. An application that passes untrusted input as a database name could therefore have the write directed at a database and collection other than the ones it intended. Only the Client.BulkWrite API is affected.

CWE-99

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fix pending
2Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10golang-mongodb-mongo-driverFix pendingUBUNTU-CVE-2026-81521
Ubuntu 26.04golang-mongodb-mongo-driverUnder investigationUBUNTU-CVE-2026-81521
Ubuntu 24.04golang-mongodb-mongo-driverUnder investigationUBUNTU-CVE-2026-81521
Debian 14golang-mongodb-mongo-driverFix pendingDEBIAN-CVE-2026-81521
Debian 13golang-mongodb-mongo-driverFix pendingDEBIAN-CVE-2026-81521
Debian 12golang-mongodb-mongo-driverFix pendingDEBIAN-CVE-2026-81521

What the vendor says

As published in the CVE record by mongodb, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.