Vulnerability · Published Aug 27, 2026 · Assigned by mongodb

CVE-2026-81524Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C Driver

Medium 5.4

In plain English

A medium-severity security flaw in C Driver from MongoDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.3%top 81.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24mongo-c-driver1.30.14-r0ALPINE-CVE-2026-81524
Debian:12mongo-c-driverno fix listedDEBIAN-CVE-2026-81524
Debian:13mongo-c-driver1.30.4-1+deb13u3DEBIAN-CVE-2026-81524
Debian:14mongo-c-driver2.5.1-1DEBIAN-CVE-2026-81524
Ubuntu:26.04:LTSmongo-c-driverno fix listedUBUNTU-CVE-2026-81524
Ubuntu:26.10mongo-c-driverno fix listedUBUNTU-CVE-2026-81524

Affected products (as reported)

VendorProductVersions
MongoDB C Driver 1.0.0 – before 2.5.1

Weakness: CWE-99 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

References