CVE-2026-81521

NameCVE-2026-81521
DescriptionThe 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-mongodb-mongo-driver (PTS)bookworm1.8.4+ds1-3vulnerable
trixie1.17.1+ds1-2vulnerable
forky, sid1.17.9+ds1-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-mongodb-mongo-driversource(unstable)(unfixed)

Notes

https://jira.mongodb.org/browse/GODRIVER-4075

Search for package or bug name: Reporting problems