Skip to main content

libmongocrypt EUVDEUVD-2026-108330

| CVE-2026-114655 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2026-10-22 cna@mongodb.com
6.0
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain write access to key vault collection
  2. Delivery
    Inject crafted values into key vault document
  3. Exploit
    Application builds KMS request with unvalidated input
  4. Execution
    Library signs tampered request with app credentials
  5. Impact
    KMS 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

libmongocrypt 1.0.0 <1.21.1

Affected Packages

euvd libmongocrypt fix: 1.21.1

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

Vendor (mongodb) PRIMARY 6.0 MEDIUM
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
vuln.today AI 7.1 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 22, 2026 - 20:18 EUVD
CVE Published
Oct 22, 2026 - 19:17 cve.org
MEDIUM 6.0

DescriptionCVE.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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
MongoDB encryption library, used only where cloud-KMS field-level encryption is configured
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

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

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

CVE-2020-7610 CRITICAL
9.8 Mar 30

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8

CVE-2026-19001 CRITICAL
9.5 Aug 12

Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy