CVE-2026-81522

Source
https://cve.org/CVERecord?id=CVE-2026-81522
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81522.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-81522
Downstream
Published
2026-08-27T18:32:23.151Z
Modified
2026-08-29T03:47:18.195353577Z
Severity
  • 8.6 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Cross-tenant database retargeting via dot/NUL injection in namespace strings in the C++ Driver
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81522.json",
    "cwe_ids": [
        "CWE-116"
    ],
    "cna_assigner": "mongodb"
}
References

Affected packages

Git / github.com/mongodb/mongo-cxx-driver

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/mongo-cxx-driver
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "3.0.0"
        },
        {
            "fixed": "4.5.1"
        }
    ]
}

Affected versions

r3.*
r3.0.0
r3.0.1
r3.0.2
r3.0.3
r3.1.0
r3.1.0-rc0
r3.11.0
r3.2.0
r3.2.0-rc0
r3.2.0-rc1
r3.3.0
r3.3.0-rc0
r3.4.0
r3.5.0
r3.6.0-rc0
r3.7.0
r3.7.0-beta1
r3.8.0
r3.9.0
r4.*
r4.0.0
r4.1.0
r4.2.0
r4.3.0
r4.4.0
r4.5.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81522.json"