Description
A weakness in the MongoDB C++ Driver's handling of caller-supplied namespace identifiers allows special characters embedded in those identifiers. An application that builds a namespace identifier from untrusted input without validating it may therefore have its operation directed at a different target than intended. This can result in limited unauthorized read and write access to data belonging to another logical tenant of the affected application.
Published: 2026-08-27
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized cross‑tenant read/write access
Action: Apply Patch
AI Analysis

Impact

The MongoDB C++ Driver contains a flaw in its treatment of caller‑supplied namespace identifiers. When special characters such as a dot or NUL byte are embedded in the identifier, the driver may interpret the string as targeting a different logical tenant. This means that, if an application constructs a namespace string from untrusted input without proper validation, the operation can be redirected to a tenant that the application was not intended to access, allowing limited unauthorized read or write of that tenant’s data.

Affected Systems

MongoDB C++ Driver; any application using the driver that builds namespace identifiers from untrusted input. The CVE does not specify which driver releases are affected; a fix is referenced in the advisory for the release r4.5.1, indicating that earlier releases could be vulnerable.

Risk and Exploitability

The CVSS score of 8.6 classifies the vulnerability as high severity. The EPSS score is less than 1%, indicating a very low expected exploitation probability. The vulnerability is not listed in the CISA KEV catalog, so no known active exploitation has been reported. Attackers can exploit the flaw by injecting special characters into a namespace string supplied by an untrusted source. Since the flaw exists in the driver layer, the attacker only needs to supply a crafted namespace identifier; no elevated privileges or additional compromise are required, provided the application uses untrusted data to form database identifiers.

Generated by OpenCVE AI on August 28, 2026 at 15:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the MongoDB C++ Driver to a release that includes the fix, such as the r4.5.1 release or newer.
  • Validate and sanitize all caller‑supplied namespace identifiers, rejecting characters that can alter the intended namespace, such as '.' or NUL bytes.
  • Restrict namespace construction to trusted internal values or enforce a strict whitelist of acceptable namespace formats.

Generated by OpenCVE AI on August 28, 2026 at 15:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 29 Aug 2026 04:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


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's handling of caller-supplied namespace identifiers allows special characters embedded in those identifiers. An application that builds a namespace identifier from untrusted input without validating it may therefore have its operation directed at a different target than intended. This can result in limited unauthorized read and write access to data belonging to another logical tenant of the affected application.
Title Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C++ Driver
Weaknesses CWE-116
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Mongodb C\# Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-08-29T03:55:54.810Z

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

Link: CVE-2026-81522

cve-icon Vulnrichment

Updated: 2026-08-28T15:51:43.288Z

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-08-29T04:18:07.147

Link: CVE-2026-81522

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T15:30:08Z

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output