Description
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.
Published: 2026-08-27
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized Data Access
Action: Apply Patch
AI Analysis

Impact

A weakness in the MongoDB C Driver allows special elements in database and collection name components to bypass sanitization when the driver composes the target namespace for an operation. The flaw permits an attacker to inject dot or NUL characters into these names, causing the driver to direct database operations to a namespace different from the one intended. This can enable an application that receives untrusted input to perform actions on another tenant’s data or databases, leading to confidentiality violations.

Affected Systems

The vulnerability affects the MongoDB C Driver. No specific affected driver version is listed in the CNA data; however, the publicly referenced release tag 2.5.1 indicates that updates beyond this version include a fix.

Risk and Exploitability

The CVSS score of 5.3 places the issue in the Moderate range. The EPSS score is not available, so the exploited volume remains uncertain, and the KEV catalog lists it as not exploited. Nevertheless, the attack likely requires only the ability to supply arbitrary database or collection names in the client, which is common in many applications. Because the flaw directly allows cross‑tenant data access, the potential impact is significant, especially in multi‑tenant deployments. The overall risk is moderate but warrants timely remediation.

Generated by OpenCVE AI on August 28, 2026 at 14:47 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the MongoDB C Driver to version 2.5.1 or later, as that release contains the official patch for this issue.
  • Validate all database and collection names supplied by users before sending them to the driver, ensuring that only alphanumeric characters and allowed delimiters are present and that dot and NUL characters are rejected.
  • Deploy a runtime policy or environment filter that rejects any namespace containing disallowed characters and monitor for attempts to access disallowed namespaces.

Generated by OpenCVE AI on August 28, 2026 at 14:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c Driver
Vendors & Products Mongodb
Mongodb c Driver

Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C Driver
Weaknesses CWE-99
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}


Subscriptions

Mongodb C Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-08-28T15:50:10.011Z

Reserved: 2026-08-26T22:13:58.379Z

Link: CVE-2026-81524

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-27T20:18:50.773

Modified: 2026-08-28T21:16:15.740

Link: CVE-2026-81524

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T15:00:13Z

Weaknesses
  • CWE-99

    Improper Control of Resource Identifiers ('Resource Injection')