Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-81524 EUVD-2026-67208

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

Published Aug 27, 2026 · Updated Aug 28, 2026 · Assigned by mongodb

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 products

VendorProductAffectedFixed
MongoDB C Driver 1.0.0 – < 2.5.1 2.5.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mongo-c-driver 2.5.1-1 —
Debian 13 mongo-c-driver 1.30.4-1+deb13u3 —
Debian 12 mongo-c-driver No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mongo-c-driver No fix yet —
Ubuntu 26.04 LTS mongo-c-driver No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS mongo-c-driver No fix yet —
Ubuntu Pro 22.04 LTS mongo-c-driver No fix yet —
Ubuntu Pro 20.04 LTS mongo-c-driver No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed mongo-c-driver 2.5.1-1.1 openSUSE-SU-2026:11671-1
ReleasePackageFixed inAdvisory
Alpine v3.24 mongo-c-driver 1.30.14-r0 —

Advisories 2

References