{"id":"CVE-2026-81522","title":"A weakness in the MongoDB C++ Driver's handling of caller-supplied namespace identifiers allows special characters embedded in those identifiers","summary":"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 i…","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","cwe":["CWE-116","CWE-140"],"vendor":"mongodb","product":"c++_driver","affected":["c++_driver >= 3.0.0, < 4.5.2"],"patched":["c++_driver 4.5.2"],"published":"2026-08-27","updated":"2026-09-29","sourceUpdated":"2026-09-29T19:17:22.457","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-81522","references":[{"url":"https://github.com/mongodb/mongo-cxx-driver/releases/tag/r4.5.1","label":"cna@mongodb.com"},{"url":"https://jira.mongodb.org/browse/CXX-3552","label":"cna@mongodb.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-81522.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-81522"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2525240"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-81522"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81522"}],"tags":["nvd","csaf","vex","red-hat"],"epss":0.00462,"epssPercentile":0.39896,"ingestedAt":"2026-08-29T21:42:36.301Z","slug":"CVE-2026-81522","body":"## Overview\n\nA 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.\n\n## Affected\n\n- `c++_driver >= 3.0.0, < 4.5.2`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `c++_driver 4.5.2`\n\n## Vendor advisories\n\n- **Red Hat VEX** · Important · affected: Logging Subsystem for Red Hat OpenShift · no fix planned: Logging Subsystem for Red Hat OpenShift · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-81522.json)","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":44.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}