Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain write access to key vault collection
-
DeliveryInject crafted values into key vault document
-
ExploitApplication builds KMS request with unvalidated input
-
ExecutionLibrary signs tampered request with app credentials
-
ImpactKMS performs unintended key-management operation
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 three concrete conditions: (1) the application must use libmongocrypt (version 1.0.0 up to but excluding 1.21.1) with an external cloud KMS provider - AWS, Azure or GCP; (2) the attacker must have authenticated WRITE access to the key vault collection, since the malicious input is delivered by altering key vault documents (and, per the description, KMS provider configuration or KMS responses); and (3) the application must subsequently perform a key-management operation that reads the tampered document, causing the library to build and sign the request. The requirement for prior write access to the key vault - a high-trust resource - is the principal factor limiting real-world exploitation; there is no path for a fully unauthenticated external attacker. |
| Impact | This is a medium-severity issue (CVSS 6.0, vendor 4.0 vector CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N) whose real-world urgency is tempered by a significant trust prerequisite. Although AV:N marks it network-reachable, the decisive gating metrics are PR:L (the attacker must already hold write access to the key vault collection) and AT:P (a specific attack requirement - the application must subsequently perform a KMS operation that consumes the tampered document). The vuln.today Decision label is 'this_month', not act_now or emergency, consistent with that limited exposure. Impact is weighted toward confidentiality (VC:H) with only limited integrity (VI:L) and no availability impact. No EPSS score, CISA KEV listing, or PoC reference was supplied, so there is no signal of active or probable exploitation - the two NVD references are only the fixed release tag and the MongoDB JIRA ticket. Net: a legitimate defect worth patching on a normal cycle, but not a high-CVSS-masquerading-as-emergency item; its risk is bounded because exploitation presupposes an already-privileged insider or a compromised account with key-vault write rights. |
| Exploit ScenarioDerived | An attacker holding write access to the key vault collection (for example a low-privileged database account or a compromised credential) edits a key vault document to inject extra members into the KMS request body or additional token claims. The next time the application performs a key management operation, libmongocrypt interpolates those unvalidated values into the request and signs it with the application's own AWS/Azure/GCP credentials, causing the KMS to carry out operations with parameters the application never intended. No public exploit code was identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 22, 2026
libmongocrypt 1.0.0 through 1.21.0 builds requests to AWS, Azure and GCP key management services with unvalidated values from key vault documents, KMS provider configuration and KMS responses, so a user with authenticated write access to the key vault collection can alter request structure or token claims that the library signs with application credentials. This medium-severity issue (CVSS 6.0) requires that prior write access and a subsequent key-management operation, meaning an unauthenticated external attacker has no path; no public exploit was identified at time of analysis. The vendor fixed the issue in libmongocrypt 1.21.1 by validating inputs before interpolation into KMS HTTP requests.
RemediationAI
Upgrade to libmongocrypt 1.21.1, the vendor-released fix; the release notes state that it validates inputs before interpolating them into a KMS HTTP request (https://github.com/mongodb/libmongocrypt/releases/tag/1.21.1, https://jira.mongodb.org/browse/MONGOCRYPT-963). No separate vendor workaround is specified. As a compensating control consistent with the assessed prerequisite, restrict write access to the key vault collection to trusted principals, recognizing that this can disrupt legitimate key-vault administration and does not address tampering through KMS provider configuration or KMS responses if those inputs are attacker-controlled.
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
The affected component is libmongocrypt, which builds requests to external key management services such as AWS, Azure and GCP. CWE-74 describes the root cause: values are interpolated into request lines, headers and signed request bodies without context-specific validation or encoding, so a party who can write key vault documents can add members or claims to a request that libmongocrypt then signs. The release notes identify the fix as validation before interpolation into a KMS HTTP request; the supplied sources do not describe every affected KMS endpoint or whether all provider paths are equally exploitable. No CPE identifiers were provided; EUVD lists libmongocrypt 1.0.0 <1.21.1.
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:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Attacker needs authenticated write access to the key vault collection (PR:L) and injection is reliable once held (AC:L); high confidentiality impact over key operations, limited integrity, no availability impact.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
libmongocrypt builds requests to external key management services (AWS, Azure and GCP) by inserting values from key vault documents, KMS provider configuration and KMS responses into request lines, headers and signed request bodies without validating or encoding them for each context. A user with write access to the key vault collection can alter the structure of these requests, including adding members to request bodies and token claims that the library then signs with the application's credentials. This may result in key management operations being performed with parameters the application did not intend.
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-108330
NVD
CVE.org
EPSS
GitHub
Exploit-DB