Skip to main content
Mallory
HighVulnerability

CVE-2026-81521: MongoDB Go Driver Client.BulkWrite Database Name Write Redirection

Published Aug 27, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.1High · v4
EPSS0.40%26th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Mongodb
IdentifiersCVE-2026-81521CWE-20

CVE-2026-81521 is an improper input-validation vulnerability in the MongoDB Go Driver client-level bulk write API. Client.BulkWrite accepts a caller-supplied database name and uses it to construct the target namespace without escaping a reserved namespace-separator character. A database name containing that character can alter namespace parsing, causing bulk write operations to be directed to a database and collection other than the application intended. The issue is limited to the Client.BulkWrite API.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An attacker able to control the database-name value supplied to Client.BulkWrite can redirect write operations to an unintended database and collection. This has high integrity impact, including unauthorized creation, modification, or corruption of records in targets accessible through the application's MongoDB credentials. No confidentiality or availability impact is identified.

Mitigation

If you can’t patch tonight, do this now.

Do not pass untrusted input directly as the database-name argument to Client.BulkWrite. Enforce a strict allowlist of expected database names and reject names containing the reserved namespace-separator character. Where possible, use application-controlled static database names and least-privilege MongoDB credentials scoped only to required databases and collections.

Remediation

Patch, then assume compromise.

Update the MongoDB Go Driver, or distribution-provided golang-mongodb-mongo-driver package, to a vendor-fixed release when available. Red Hat Edge Manager deployments should apply the updated flightctl component packages provided in RHSA-2026:68334, including version 1.1.4-1 packages for supported RHEL 9 and RHEL 10 systems. Debian package status was reported as unpatched; a specific fixed Debian package version is not available.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
MongodbGo Driverapplication
FAQ

Frequently asked questions

Is CVE-2026-81521 exploited in the wild?
As of Sep 29, 2026, Mallory has no reports of CVE-2026-81521 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-81521?
As of Sep 29, 2026, Mallory has found no public exploit for CVE-2026-81521.
Is there a patch for CVE-2026-81521?
Update the MongoDB Go Driver, or distribution-provided golang-mongodb-mongo-driver package, to a vendor-fixed release when available. Red Hat Edge Manager deployments should apply the updated flightctl component packages provided in RHSA-2026:68334, including version 1.1.4-1 packages for supported RHEL 9 and RHEL 10 systems.
What products are affected by CVE-2026-81521?
Mongodb Go Driver.
How severe is CVE-2026-81521?
CVE-2026-81521 has a CVSS v4 score of 7.1 (High) and an EPSS score of 0.40% (26th percentile) as of Sep 29, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.