Cross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go Driver
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Partial Red Hat: 6 fixed, 3 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA GO Driver (MongoDB) Fixed in 2.8.2, 2.9.2
Red Hat 7 advisories
- RHSA-2026:90321 Released 2026-10-26 · Red Hat rating CriticalRed Hat OpenShift Dev Spaces 3.31.0 Release.
- Red Hat OpenShift Dev Spaces 3.31 registry.redhat.io/devspaces/code-rhel9, registry.redhat.io/devspaces/dashboard-rhel9, registry.redhat.io/devspaces/jetbrains-ide-rhel9 +8
- RHSA-2026:84734 Released 2026-10-19 · Red Hat rating CriticalRHOAI 3.4.5 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9, registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9 +47
- RHSA-2026:68334 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.1.4 Security Update
- RHEM 1.1 for RHEL 10 flightctl-1.1.4-1.el10em, flightctl-agent-1.1.4-1.el10em, flightctl-cli-1.1.4-1.el10em
- RHEM 1.1 for RHEL 9 flightctl-1.1.4-1.el9em, flightctl-agent-1.1.4-1.el9em, flightctl-cli-1.1.4-1.el9em
Show 4 more Red Hat advisories
- RHSA-2026:68254 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.2.1 Security Update
- Red Hat Edge Manager 1.2 registry.redhat.io/rhem/flightctl-alert-exporter-rhel9, registry.redhat.io/rhem/flightctl-alertmanager-proxy-rhel9, registry.redhat.io/rhem/flightctl-api-rhel9 +11
- RHSA-2026:68253 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.1.4 Security Update
- Red Hat Edge Manager 1.1 registry.redhat.io/rhem/flightctl-alert-exporter-rhel9, registry.redhat.io/rhem/flightctl-alertmanager-proxy-rhel9, registry.redhat.io/rhem/flightctl-api-rhel9 +10
- RHSA-2026:68044 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.1.4 Security Update
- Red Hat Edge Manager 1.1 registry.redhat.io/rhem/flightctl-alert-exporter-rhel10, registry.redhat.io/rhem/flightctl-alertmanager-proxy-rhel10, registry.redhat.io/rhem/flightctl-api-rhel10 +11
- RHSA-2026:68006 Released 2026-09-16 · Red Hat rating ImportantRed Hat Edge Manager Version 1.2.1 Security Update
- Red Hat Edge Manager 1.2 registry.redhat.io/rhem/flightctl-alert-exporter-rhel10, registry.redhat.io/rhem/flightctl-alertmanager-proxy-rhel10, registry.redhat.io/rhem/flightctl-api-rhel10 +11
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Pipelines | Affected | No fix yet |
| Red Hat OpenShift GitOps | Affected | No fix planned: Will not fix |
| Red Hat Trusted Artifact Signer | Affected | No fix planned: Will not fix |
| RHEM 1.1 for RHEL 10 | Fixed | RHSA-2026:68334 |
| RHEM 1.1 for RHEL 9 | Fixed | RHSA-2026:68334 |
| Red Hat Edge Manager 1.1 | Fixed | RHSA-2026:68044, RHSA-2026:68253 |
| Red Hat Edge Manager 1.2 | Fixed | RHSA-2026:68006, RHSA-2026:68254 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:84734 |
| Red Hat OpenShift Dev Spaces 3.31 | Fixed | RHSA-2026:90321 |
Not affected: 8 products
- RHEM 1.1 for RHEL 10
- RHEM 1.1 for RHEL 9
- Red Hat Edge Manager 1.1
- Red Hat Edge Manager 1.2
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift Dev Spaces
- Red Hat OpenShift Dev Spaces 3.31
- Red Hat Trusted Artifact Signer
Timeline
- 2026-10-02 Threatist record created from CVE-2026-81521
- 2026-10-06 Affected versions changed · Red Hat
- 2026-10-06 Fix available: MongoDB/GO [email protected] · CNA
- 2026-10-08 Affected versions changed · Red Hat
- 2026-10-20 Fix available: RHSA-2026:84734 · Red Hat
- 2026-10-20 Fix available: Red Hat OpenShift AI 3.4 · Red Hat
- 2026-10-29 Fix available: Red Hat OpenShift Dev Spaces 3.31 · Red Hat
- 2026-10-30 Fix available: RHSA-2026:90321 · Red Hat
References
More MongoDB Go Driver vulnerabilities
- TI-2026-69717 Denial of service in MongoDB Go Driver via malformed BSON array CVSS 4.0HIGH 8.2
- TI-2026-69716 Integer overflow in MongoDB Go Driver BSON handling causes panic CVSS 4.0HIGH 8.2
- TI-2021-03617 Specific cstrings input may not be properly validated in the Go Driver CVSS 3.1MEDIUM 6.8
- TI-2026-60056 GridFS data deletion via query-operator injection in file IDs in the MongoDB Go Driver CVSS 4.0MEDIUM 6.1
Sources
- CVE-2026-81521 · CVE Program
- CVE-2026-81521 · NVD
- FIRST EPSS
- CVE-2026-81521 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences