Skip to main content
EPSS 0.5%top 62%

CVE-2026-81522: CWE-116: Improper Encoding or Escaping of Output in MongoDB C++ Driver

0
High
VulnerabilityCVE-2026-81522cvecve-2026-81522cwe-116
Published: 08/27/2026 (08/27/2026, 18:32:23 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB
Product: C++ Driver

Description

CVE-2026-81522 is a high-severity vulnerability in the MongoDB C++ Driver version 3.0.0. It involves improper encoding or escaping of output related to namespace identifiers constructed from untrusted input. This flaw can allow an attacker to manipulate namespace identifiers with special characters, potentially causing operations to target unintended data. The impact includes limited unauthorized read and write access to data belonging to other logical tenants within the affected application.

CVSS v4.0

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

MongoDB

C++ Driver

Affected versions
>=3.0.0 <4.5.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 10:37:10 UTC

Technical Analysis

The MongoDB C++ Driver version 3.0.0 contains a CWE-116 vulnerability where improper encoding or escaping of caller-supplied namespace identifiers allows special characters to be embedded. If an application builds namespace identifiers from untrusted input without proper validation, this can lead to operations being redirected to different targets than intended. This misdirection can result in limited unauthorized access to data of other logical tenants within the same application context.

Potential Impact

This vulnerability can lead to unauthorized read and write access to data belonging to other logical tenants of the affected application, potentially violating data isolation and confidentiality. The impact is limited in scope but significant in multi-tenant environments where data separation is critical.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or workaround is available, applications should validate and sanitize all untrusted input used to construct namespace identifiers to prevent injection of special characters.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mongodb
Date Reserved
2026-08-26T22:13:42.143Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a909cffacd9273b49b2d37c

Added to database: 08/27/2026, 20:24:31 UTC

Last enriched: 09/08/2026, 10:37:10 UTC

Last updated: 10/11/2026, 06:48:19 UTC

Views: 113

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses