Skip to content
OpenAdvisories
High · 8.1 CVE-2026-81522 EUVD-2026-67206

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

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

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.

Affected products

VendorProductAffectedFixed
MongoDB C++ Driver 3.0.0 – < 4.5.1 4.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-cxx-driver 4.5.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mongo-cxx-driver No fix yet —

Advisories 1

References