CVE-2026-81522: MongoDB C++ Driver - Broken Access Control
- Cve: CVE-2026-81522
- Name: MongoDB C++ Driver - Broken Access Control
- 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.
- Impact: Attackers can gain limited unauthorized read and write access to data of other tenants, risking data confidentiality and integrity.
- Remediation: Validate and sanitize namespace identifiers or update to the latest driver version with proper validation.
- Vulnerability type: broken_access_control
- Vulnerability impact: broken_access_control
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00462
- Epss percentile: 0.40858
- Assignee: [email protected]
- Published at: 2026-08-27T20:18:50Z
- Age in days: 89
- Modified at: 2026-09-29T19:17:22Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-81522
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-116 | Improper Encoding or Escaping of Output |
References
| Url | Source | Tags |
|---|---|---|
| https://jira.mongodb.org/browse/CXX-3552 | nvd | Vendor Advisory |
| https://github.com/mongodb/mongo-cxx-driver/releases/tag/r4.5.1 | nvd | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mongodb:c++_driver | >= 3.0.0, < 4.5.2 | no | nvd | /v1/products/mongodb/c++_driver |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mongodb/mongo-cxx-driver | releases | yes | /v1/repositories/mongodb/mongo-cxx-driver |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts