Skip to main content
Mallory
MediumVulnerability

CVE-2026-81524: Namespace Injection in MongoDB C Driver

Published Aug 27, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.3Medium · v4
EPSS0.28%13th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Mongodb
IdentifiersCVE-2026-81524CWE-74

CVE-2026-81524 is a namespace-injection vulnerability in MongoDB C Driver (libmongoc), affecting versions 1.0.0 through 2.5.0. The driver insufficiently validates caller-supplied database and collection name components when constructing an operation's target namespace. If an application incorporates untrusted input into these components, injected period or NUL characters can redirect operations to an unintended database or collection. This can undermine application-level resource isolation, including tenant separation. Libmongoc 2.5.1 introduces validation addressing the flaw.

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.

Successful exploitation can redirect database operations to unintended resources, potentially exposing or modifying another tenant's data where the application's database credentials permit access. The vulnerability has low confidentiality and integrity impacts and no identified availability impact. It does not establish a bypass of MongoDB server-side authorization.

Mitigation

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

Prevent untrusted input from directly determining database or collection names. Map tenant or resource identifiers to server-controlled, allowlisted names, and reject prohibited period and NUL characters before passing name components to the driver. Limit application database credentials to the resources they require, and restrict access to affected application interfaces until patched.

Remediation

Patch, then assume compromise.

Upgrade to libmongoc 2.5.1 or later, or install a distribution package containing the backported fix. Alpine Linux identifies mongo-c-driver 1.30.14-r0 or later as a corrected package. Fedora 45 and EPEL provide corrected 2.5.1 and 2.5.2 builds; use the latest applicable supported security update.

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
MongodbC Driverapplication
FAQ

Frequently asked questions

Is CVE-2026-81524 exploited in the wild?
As of Oct 30, 2026, Mallory has no reports of CVE-2026-81524 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-81524?
As of Oct 30, 2026, Mallory has found no public exploit for CVE-2026-81524.
Is there a patch for CVE-2026-81524?
Upgrade to libmongoc 2.5.1 or later, or install a distribution package containing the backported fix. Alpine Linux identifies mongo-c-driver 1.30.14-r0 or later as a corrected package.
What products are affected by CVE-2026-81524?
Mongodb C Driver.
How severe is CVE-2026-81524?
CVE-2026-81524 has a CVSS v4 score of 5.3 (Medium) and an EPSS score of 0.28% (13th percentile) as of Oct 30, 2026.
Activity feed

Recent activity

11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+7 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
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.