cve.bz

CVE-2026-81521 mongodb go driver: Resource Injection

7.1 highEPSS 0.2%

High (7.1) in mongodb go driver. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

7.1 high
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

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-99 Improper Control of Resource Identifiers (Resource Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-81521 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-81521?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-81521?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-81521 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
MongoDB GO Driverfrom 2.1.0 before 2.8.2
MongoDB GO Driverfrom 2.9.0 before 2.9.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14golang-mongodb-mongo-driverno fix listedDEBIAN-CVE-2026-81521
Ubuntu24.04:LTS, 26.04:LTS, 26.10golang-mongodb-mongo-driverno fix listedUBUNTU-CVE-2026-81521
SUSELinux Enterprise Module for Basesystem 15 SP7alloy1.19.2-150700.15.29.1SUSE-SU-2026:4408-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0alloy1.19.2-160000.1.1SUSE-SU-2026:24148-1
openSUSELeap 16.0alloy1.19.2-160000.1.1openSUSE-SU-2026:22032-1
openSUSETumbleweedalloy1.19.2-1.1openSUSE-SU-2026:11803-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has determined that this vulnerability affects Red Hat products that ship MongoDB Go Driver versions 2.1.0 through 2.8.1 and use the Client.BulkWrite API with an attacker-controlled database name. Products that ship the 1.x driver series do not contain the affected API and are not affected.

Red Hat's mitigation

Until a fixed driver version is available, do not pass attacker-controlled database names to Client.BulkWrite. Validate database names against an allowlist and reject names containing reserved separator characters. Update to MongoDB Go Driver version 2.8.2 or later when available.

ProductPackageStateAdvisory
RHEM 1.1 for RHEL 10flightctl-0:1.1.4-1.el10emFixed 2026-09-16RHSA-2026:68334
RHEM 1.1 for RHEL 9flightctl-0:1.1.4-1.el9emFixed 2026-09-16RHSA-2026:68334
Red Hat Edge Manager 1.1rhem/flightctl-alert-exporter-rhel10:1789485396Fixed 2026-09-16RHSA-2026:68044
Red Hat Edge Manager 1.1rhem/flightctl-alertmanager-proxy-rhel10:1789486842Fixed 2026-09-16RHSA-2026:68044
Red Hat Edge Manager 1.1rhem/flightctl-api-rhel10:1789485939Fixed 2026-09-16RHSA-2026:68044
Red Hat Edge Manager 1.1rhem/flightctl-cli-artifacts-rhel10:1789488001Fixed 2026-09-16RHSA-2026:68044
Red Hat Edge Manager 1.1rhem/flightctl-db-setup-rhel10:1789487240Fixed 2026-09-16RHSA-2026:68044
Red Hat Edge Manager 1.1rhem/flightctl-imagebuilder-api-rhel10:1789486040Fixed 2026-09-16RHSA-2026:68044
Red Hat Edge Manager 1.1rhem/flightctl-imagebuilder-worker-rhel10:1789486782Fixed 2026-09-16RHSA-2026:68044
Red Hat Edge Manager 1.1rhem/flightctl-pam-issuer-rhel10:1789487151Fixed 2026-09-16RHSA-2026:68044
OpenShift Pipelinesopenshift-pipelines-clientAffected
OpenShift Pipelinesopenshift-pipelines/pipelines-chains-controller-rhel8Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-chains-controller-rhel9Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-cli-tkn-rhel8Will not fix
OpenShift Pipelinesopenshift-pipelines/pipelines-cli-tkn-rhel9Affected
OpenShift Pipelinesopenshift-pipelines/pipelines-opc-rhel9Will not fix
Red Hat OpenShift Dev Spacesdevspaces/traefik-rhel9Not affected
Red Hat OpenShift GitOpsmicroshift-gitopsWill not fix
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel8Will not fix
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel9Will not fix
51 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-81521.

Attack patterns (CAPEC)

  • CAPEC-10 Buffer Overflow via Environment Variables Likelihood: High · Severity: High
  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-240 Resource Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON