Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl caller-supplied namespace input
-
DeliverySupply '.' or NUL byte in database name
-
ExploitBypass libmongocrypt input validation
-
ExecutionTrigger incorrect schema selection
-
PersistAccess data under wrong encryption policy
-
ImpactLimited disclosure or modification
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires: (1) the target application must have MongoDB Client-Side Field Level Encryption (CSFLE) configured with automatic encryption enabled - this is a non-default, explicitly configured feature; (2) the attacker must have local access and low privileges sufficient to influence the database or collection name argument passed to the libmongocrypt automatic-encryption context (AV:L, PR:L from the CVSS 4.0 vector); (3) specific attack prerequisites must be satisfied (AT:P), meaning the attacker cannot trivially reach the vulnerable code path without controlling an input at the application or driver API layer. Limiting factors: no network-based exploitation is possible (AV:L), unauthenticated remote attackers cannot trigger the flaw, and the vulnerability is entirely inert in MongoDB deployments not using CSFLE automatic encryption. |
| Impact | The risk signals are uniformly low. CVSS 4.0 scores 2.0, with AV:L (local attack vector - the attacker must control input within the application process or calling context), AT:P (attack prerequisites present - automatic encryption must be configured and in use), PR:L (low privileges required), and impacts limited to VC:L/VI:L with no availability impact. No KEV listing and no public exploit code exist at time of analysis. EPSS data was not provided. The vulnerability's scope is further constrained to deployments actively using MongoDB's CSFLE automatic encryption feature, which is not a default or universally deployed capability. The most realistic concern is an insider or compromised application component that can supply crafted namespace strings to the encryption library, resulting in schema confusion rather than direct data exfiltration or integrity compromise. This does not require network access and cannot be triggered remotely against a default MongoDB deployment. |
| Exploit ScenarioDerived | A low-privileged caller - such as a compromised microservice or a malicious internal application component - supplies a crafted database name containing '.' or a NUL byte to the libmongocrypt automatic-encryption context setup API. The unsanitized input causes the library to resolve the wrong namespace, selecting an unintended encryption schema for the operation. The caller can then read or write data fields using an incorrect encryption policy, enabling limited schema-level information disclosure or modification within the application's data handling context. No public exploit code exists at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 27, 2026
Input injection in MongoDB libmongocrypt's automatic-encryption context setup permits caller-supplied database and collection name arguments containing '.' or NUL bytes to pass without sanitization, causing incorrect schema selection during Client-Side Field Level Encryption (CSFLE) operations. Affected callers - those with local access and low privileges - may obtain limited unauthorized disclosure or modification of data processed under the wrong encryption schema. No public exploit code exists and this vulnerability is not in CISA KEV; the CVSS 4.0 score of 2.0 reflects the constrained real-world impact.
RemediationAI
Upgrade libmongocrypt to version 1.20.3, which validates database and collection name arguments against '.' and NUL bytes per the fix documented at https://github.com/mongodb/libmongocrypt/releases/tag/1.20.3. MongoDB driver users should update to a driver release that bundles libmongocrypt 1.20.3 or later. As a compensating control where immediate upgrade is not feasible, applications can enforce strict allowlist validation of database and collection name inputs at the application layer before passing them to the MongoDB driver's encryption context, rejecting any strings containing '.' or NUL characters. This control adds a redundant check but introduces a maintenance burden if legitimate namespace patterns change. No significant operational side effects are expected from upgrading to 1.20.3.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libmongocrypt (CPE: cpe:2.3:a:mongodb:libmongocrypt:*:*:*:*:*:*:*:*) is MongoDB's C library for Client-Side Field Level Encryption, embedded in MongoDB drivers to handle automatic encryption and decryption of fields before data reaches the server. The root cause is CWE-74 (Improper Neutralization of Special Elements in Output), specifically the failure to reject '.' (dot, used as the MongoDB namespace separator between database and collection) and NUL bytes in the database/collection name arguments passed to the automatic-encryption context setup routine. By injecting these characters, a caller can manipulate namespace resolution such that the encryption context selects an unintended schema, potentially applying the wrong field-level encryption policy. The fix, introduced in libmongocrypt 1.20.3, adds explicit validation of these arguments against '.' and NUL bytes.
Know when MongoDB gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Local vector (AV:L) and low privileges (PR:L) required to supply crafted namespace; limited confidentiality and integrity impact only; no availability impact.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.org
A missing input-validation issue in MongoDB libmongocrypt's automatic-encryption context setup allows a caller-supplied database identifier to be accepted without sanitization. The resulting impact is limited to incorrect schema selection, which may lead to limited disclosure or modification of information handled by the application.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or
EUVD-2026-67207
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB