Description
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.
Published: 2026-10-22
Score: 6 Medium
EPSS: n/a
KEV: No
Impact: Request injection into external KMS services enabling unauthorized operations
Action: Immediate Patch
AI Analysis

Impact

libmongocrypt constructs requests to external key management services by inserting values from key vault documents, provider configuration and KMS responses directly into request lines, headers and bodies without validation or proper encoding. This allows a user with write access to the key vault collection to modify those values, adding arbitrary members or token claims that the library then signs with the application's credentials. The result is that the application may perform KMS operations using parameters it did not intend, potentially exposing sensitive keys or altering cryptographic operations.

Affected Systems

MongoDB libmongocrypt, all versions susceptible until patched. The vulnerability is present in releases that construct requests as described; the Advisory indicates that the fix is available in 1.21.1. No specific earlier versions are enumerated in the input, but all affected releases prior to the fix are considered vulnerable.

Risk and Exploitability

The CVSS score of 6.0 denotes moderate severity. Exploit probability is not quantified, as EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog. The attack requires an attacker to have write permission to the key vault collection, making it a local privilege requirement; however, an insider or compromised credentials could satisfy this. Once the attacker modifies the request, KMS services may accept malformed or malicious requests, leading to unintended key operations.

Generated by OpenCVE AI on October 23, 2026 at 03:11 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor patch or upgrade to libmongocrypt 1.21.1 or later.
  • Restrict write access to the key vault collection to only trusted administrators and remove write capability from application roles.
  • Audit existing key vault documents and KMS provider configurations for unexpected fields or signatures.

Generated by OpenCVE AI on October 23, 2026 at 03:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 03:45:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb libmongocrypt
Vendors & Products Mongodb
Mongodb libmongocrypt

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Description 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.
Title KMS request injection via unsanitized key vault and provider values in libmongocrypt
Weaknesses CWE-74
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N'}

cvssV4_0

{'score': 6, 'vector': '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'}


Subscriptions

Mongodb Libmongocrypt
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-10-22T20:38:26.441Z

Reserved: 2026-10-21T21:57:57.844Z

Link: CVE-2026-114655

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-22T19:17:40.130

Modified: 2026-10-22T21:17:17.517

Link: CVE-2026-114655

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T03:30:15Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')