# CVE-2026-81521: Cross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go Driver

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-27 · Modified: 2026-11-25
- Aliases: UBUNTU-CVE-2026-81521, DEBIAN-CVE-2026-81521, CGA-39qr-f66w-v3vw, CGA-59qm-x8xr-vpwx, CGA-8cvc-r9m5-wf9f, CGA-frc3-286j-h7pf, CGA-wwr4-q7qc-crx8
- Record: https://cvemate.com/vulnerability/CVE-2026-81521 · JSON: https://cvemate.com/vulnerability/CVE-2026-81521/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.236%, percentile 15.536%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard keda-2.21 (Chainguard): \< 2.21.0-r9
- chainguard keda-fips-2.21 (Chainguard): \< 2.21.0-r8
- chainguard keda-fips-2.21-metrics-apiserver (Chainguard): \< 2.21.0-r8
- debian golang-mongodb-mongo-driver (Debian): All versions (No fix recorded)
- ubuntu golang-mongodb-mongo-driver (Ubuntu): All versions (No fix recorded)
- mongodb go\_driver: ≥ 2.9.0, \< 2.9.2 \| ≥ 2.1.0, \< 2.8.2

## References

- <https://jira.mongodb.org/browse/GODRIVER-4075>
- <https://pkg.go.dev/go.mongodb.org/mongo-driver/v2@v2.8.2>
- <https://ubuntu.com/security/CVE-2026-81521>
- <https://www.cve.org/CVERecord?id=CVE-2026-81521>
- <https://security-tracker.debian.org/tracker/CVE-2026-81521>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81521.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-81521>

---

Data as of 2026-12-05T06:39:56.271Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
