CVE-2026-81521
CVE-2026-81521 · Cross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go Driver
CVSS 7.1 · High · EPSS 0.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- go driverUpdate to 2.8.2 / 2.9.2
- golang-mongodb-mongo-driver Debian 12No fix published
- golang-mongodb-mongo-driver Debian 13No fix published
- golang-mongodb-mongo-driver Debian 14No fix published
- and 3 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="golang-mongodb-mongo-driver"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- RHSA-2026:68334 · Red Hat edge manager 1.1 el10, Red Hat edge manager 1.1 el9 ·
- openSUSE-SU-2026:22032-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:24148-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- SUSE-SU-2026:4408-1 · SUSE Linux Enterprise Module for Basesystem 15 SP7 ·
- openSUSE-SU-2026:11803-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
go driver
- Versions
- ≥ 2.1.0, < 2.8.2: Affected (semver)
- ≥ 2.9.0, < 2.9.2: Affected (semver)
Update to 2.8.2; Update to 2.9.2
golang-mongodb-mongo-driver Debian 12
- Versions
- 1.12.1+ds1-1
- 1.12.1+ds1-2
- 1.16.1+ds1-1
- 1.17.0+ds1-1
- 1.17.1+ds1-1
- 1.17.1+ds1-2
All versions (9)
- 1.17.1+ds1-3
- 1.17.9+ds1-1
- 1.8.4+ds1-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-mongodb-mongo-driver Debian 13
- Versions
- 1.17.1+ds1-2
- 1.17.1+ds1-3
- 1.17.9+ds1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-mongodb-mongo-driver Debian 14
- Versions
- 1.17.1+ds1-2
- 1.17.1+ds1-3
- 1.17.9+ds1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-mongodb-mongo-driver Ubuntu 24.04 LTS
- Versions
- 1.8.4+ds1-1ubuntu1
- 1.12.1+ds1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-mongodb-mongo-driver Ubuntu 26.10
- Versions
- 1.17.1+ds1-2
- 1.17.9+ds1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
golang-mongodb-mongo-driver Ubuntu 26.04 LTS
- Versions
- 1.17.1+ds1-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published