Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-81521 EUVD-2026-67205

Cross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go Driver

Published Aug 27, 2026 · Updated Oct 6, 2026 · Assigned by mongodb

Description

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.

Affected products

VendorProductAffectedFixed
MongoDB GO Driver 2.1.0 – < 2.8.2, 2.9.0 – < 2.9.2 2.8.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-mongodb-mongo-driver No fix yet —
Debian 13 golang-mongodb-mongo-driver No fix yet —
Debian 12 golang-mongodb-mongo-driver No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-mongodb-mongo-driver No fix yet —
Ubuntu 26.04 LTS golang-mongodb-mongo-driver No fix yet —
Ubuntu 24.04 LTS golang-mongodb-mongo-driver No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 alloy 1.19.2-150700.15.29.1 SUSE-SU-2026:4408-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 alloy 1.19.2-160000.1.1 SUSE-SU-2026:24148-1
SLES 16.0 alloy 1.19.2-160000.1.1 SUSE-SU-2026:24148-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed alloy 1.19.2-1.1 openSUSE-SU-2026:11803-1
openSUSE Leap 16.0 alloy 1.19.2-160000.1.1 openSUSE-SU-2026:22032-1

Advisories 5

References