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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | mongo-c-driver | 1.30.14-r0 | ALPINE-CVE-2026-81524 |
| Debian:12 | mongo-c-driver | no fix listed | DEBIAN-CVE-2026-81524 |
| Debian:13 | mongo-c-driver | 1.30.4-1+deb13u3 | DEBIAN-CVE-2026-81524 |
| Debian:14 | mongo-c-driver | 2.5.1-1 | DEBIAN-CVE-2026-81524 |
| Ubuntu:26.04:LTS | mongo-c-driver | no fix listed | UBUNTU-CVE-2026-81524 |
| Ubuntu:26.10 | mongo-c-driver | no fix listed | UBUNTU-CVE-2026-81524 |
Affected products (as reported)
Weakness: CWE-99 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N