Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain MongoDB key vault write access
-
DeliveryInject CRLF sequences into key vault KMS metadata fields
-
ExploitWait for authorized client to trigger CSFLE encrypt/decrypt operation
-
Executionlibmongocrypt reads malicious key vault entry and constructs crafted KMS HTTP request
-
PersistArbitrary Google Cloud KMS API call issued under victim application's GCP identity
-
ImpactAttacker gains unauthorized control over cloud key material
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
|
| Exploitation Conditions | The attacker must have write access to the MongoDB key vault collection, which is a highly privileged database-level position (PR:H in CVSS 4.0). The target deployment must have Client-Side Field Level Encryption (CSFLE) or Queryable Encryption explicitly enabled and configured with a Google Cloud KMS key provider ( |
| Impact | The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:H/UI:P, score 5.7) accurately models this as a moderate-severity, multi-prerequisite attack: the adversary must hold key vault write access (PR:H), a specific system prerequisite must be satisfied (AT:P), and the authorized client must actively trigger a cryptographic operation while malicious data is in place (UI:P). The raw score understates business impact for affected deployments - VC:H represents access to the cloud key management plane, which entirely defeats the security guarantee of client-side encryption; any organization that deployed CSFLE specifically to ensure the database operator cannot read plaintext data loses that protection entirely. The attack is insidious because it proxies through a legitimate, credentialed client process, making it difficult to distinguish from normal KMS traffic in audit logs. Even a mid-sized municipal IT team in inowroclaw relying on MongoDB CSFLE to protect sensitive records should treat remediation as urgent if any service account or administrator holding key vault write access is potentially compromised. No KEV listing and no public exploit code are confirmed, but the high confidentiality impact on key material and the silent, proxy-based nature of exploitation elevate practical risk well above what the 5.7 base score suggests for in-scope deployments. |
| Exploit ScenarioDerived | An attacker with MongoDB database administrator access (or a compromised service account with key vault write permissions) modifies a key vault document to embed CRLF sequences in a KMS metadata field such as the key resource name or endpoint URI. When a legitimate application client subsequently performs a CSFLE decryption or encryption operation, libmongocrypt constructs a Google Cloud KMS HTTPS request incorporating the injected content, resulting in an arbitrary KMS API call - such as creating or destroying a key or decrypting an unrelated ciphertext - authenticated with the application's GCP service account credentials and invisible to standard application-level auditing. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 03, 2026
Unauthorized write access to a MongoDB key vault collection allows an attacker to inject maliciously crafted key metadata into libmongocrypt, causing a legitimate authorized application client to issue arbitrary Google Cloud KMS API calls authenticated under the victim client's GCP identity. All versions of libmongocrypt are listed as affected via CPE wildcard (cpe:2.3:a:mongodb:libmongocrypt:*), with impact limited to deployments using MongoDB Client-Side Field Level Encryption (CSFLE) or Queryable Encryption configured with a Google Cloud KMS key provider. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in CISA KEV.
RemediationAI
Monitor MongoDB JIRA MONGOCRYPT-960 (https://jira.mongodb.org/browse/MONGOCRYPT-960) for a patched libmongocrypt release and apply it by updating the MongoDB driver to the version that bundles the fixed library. No vendor-released patch version has been confirmed at time of analysis. As an immediate compensating control, audit and restrict write access to the MongoDB key vault collection using role-based access control - the key vault should be writable only by a dedicated, tightly scoped key management principal, never by general-purpose application service accounts or DBA accounts. Enable Cloud Audit Logs for Google Cloud KMS on the relevant GCP project to detect anomalous API calls issued under your application's service account identity; unexpected KMS operations (key creation, policy changes, decryption of non-application keys) should trigger alerts. Rotating GCP service account credentials used for KMS access shortens the exploitation window but does not eliminate the root vulnerability. Disabling Google Cloud KMS integration entirely and switching to a local key provider eliminates exposure but removes the cloud-managed key benefit.
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 open-source C library, embedded in all official MongoDB drivers, that implements Client-Side Field Level Encryption (CSFLE) and Queryable Encryption. When Google Cloud KMS is configured as the key provider, libmongocrypt fetches and unwraps Data Encryption Keys (DEKs) stored in the MongoDB key vault collection by constructing authenticated HTTP requests to the Google Cloud KMS REST API using the application's GCP service account credentials. CWE-93 (Improper Neutralization of CRLF Sequences) indicates that attacker-controlled values within key vault documents - such as KMS endpoint URIs, key resource name fields, or HTTP header values - are incorporated into outbound KMS API requests without adequate sanitization, allowing injected CRLF sequences to add or override HTTP headers and construct entirely different API calls than intended. This confused-deputy mechanism allows the attacker to leverage the authorized client's GCP credentials to issue arbitrary KMS operations the attacker themselves could not directly perform.
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:N/AC:H/AT:P/PR:H/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable but requires key vault write privileges (PR:H), victim client action (UI:R), and attack complexity is high (AT:P maps to AC:H); scope changes to GCP KMS plane (S:C) with high confidentiality impact on key material only.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.org
An unauthorized user with key vault write access may cause an authorized client to issue arbitrary authenticated Google Cloud KMS API calls under the authorized user's identity, escalating database-level access into cloud key control and defeating client-side encryption.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-70516
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB