Skip to main content

MongoDB C Driver CVE-2026-81524

| EUVDEUVD-2026-67208 MEDIUM
Improper Control of Resource Identifiers ('Resource Injection') (CWE-99)
2026-08-27 mongodb
5.3
CVSS 4.0 · Vendor: mongodb
Share

Severity by source

Vendor (mongodb) PRIMARY
5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.4 MEDIUM

Network-reachable application accepts user input as name components (AV:N, PR:L); impact is limited to misdirected read/write with no scope change or availability loss.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Aug 27, 2026 - 22:03 EUVD
Source Code Evidence Fetched
Aug 27, 2026 - 21:04 vuln.today
Analysis Generated
Aug 27, 2026 - 21:04 vuln.today

DescriptionCVE.org

A weakness in the MongoDB C Driver allows special elements in caller-supplied database and collection name components to pass without sanitization when the driver composes the target namespace for an operation. An application that incorporates untrusted input into these name components can have operations directed at a resource other than the one intended.

AnalysisAI

Namespace injection in MongoDB C Driver (libmongoc) allows any caller-controlled database or collection name containing a '.' separator or NUL byte to redirect a MongoDB operation to an unintended resource. Applications that incorporate unsanitized user input into these name components are affected across all libmongoc versions prior to 2.5.1. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Supply crafted '.' or NUL-containing name input
Delivery
Application forwards unsanitized value to libmongoc name argument
Exploit
Driver composes malformed namespace string
Execution
MongoDB operation redirected to unintended collection or database
Impact
Unauthorized data read or write against unintended resource

Vulnerability AssessmentAI

Exploitation Exploitation requires that a calling application forwards untrusted, user-controlled strings directly to libmongoc as database name or collection name function arguments without prior input validation. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 score of 5.3 (Medium) reflects a real but conditional risk: exploitation requires a specific application anti-pattern - passing unsanitized, caller-controlled strings directly as database or collection name arguments. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker submits a crafted string such as 'legit_db.shadow_collection' as a value that an application forwards to libmongoc as a database name argument. The driver composes the namespace using the injected '.' as a real separator, redirecting the operation to the 'shadow_collection' collection inside the 'legit_db' database rather than the intended target. …
Remediation Upgrade libmongoc to version 2.5.1 or later, which validates database and collection name arguments against '.' and NUL bytes at the driver level (https://github.com/mongodb/mongo-c-driver/releases/tag/2.5.1). … Detailed patch versions, workarounds, and compensating controls in full report.

Threat intelligence, references, and detailed analysis are available after sign-in.

CVE-2020-12135 MEDIUM POC
5.5 Apr 24

bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. Rated medium

CVE-2026-81522 HIGH
8.6 Aug 27

Namespace injection in the MongoDB C++ Driver (all versions prior to r4.5.1) allows low-privileged users of affected mul

CVE-2024-7553 HIGH
7.8 Aug 07

Incorrect validation of files loaded from a local untrusted directory may allow local privilege escalation if the underl

CVE-2026-81529 HIGH
7.1 Aug 27

Connection-option injection in the MongoDB C# Driver allows a low-privileged application user to introduce or suppress s

CVE-2026-81527 MEDIUM
6.9 Aug 27

NoSQL injection in the MongoDB C# Driver's LINQ-to-aggregation translation layer allows network-accessible, unauthentica

CVE-2026-81530 MEDIUM
6.8 Aug 27

Sensitive KMS provider credentials supplied for client-side field-level encryption (CSFLE) in the MongoDB C# Driver are

CVE-2026-9100 MEDIUM
6.0 May 20

The legacy GridFS API in the MongoDB C Driver fails to validate file metadata fields retrieved from the database, enabli

CVE-2023-0437 MEDIUM
5.3 Jan 12

When calling bson_utf8_validate on some inputs a loop with an exit condition that cannot be reached may occur, i.e. Rate

CVE-2026-6231 MEDIUM
5.3 Apr 13

MongoDB C Driver bson_validate function returns early on specific inputs and incorrectly reports successful validation,

CVE-2026-81528 MEDIUM
5.3 Aug 27

NoSQL injection in the MongoDB C# Driver's document-replacement code path allows network-accessible, low-privileged atta

CVE-2021-20331 MEDIUM
4.9 May 13

Specific versions of the MongoDB C# Driver may erroneously publish events containing authentication-related data to a co

CVE-2025-12119 MEDIUM
6.9 Nov 18

A mongoc_bulk_operation_t may read invalid memory if large options are passed. Rated medium severity (CVSS 6.9), this vu

Share

CVE-2026-81524 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy