Skip to main content

MongoDB Server CVE-2026-8201

| EUVDEUVD-2026-29892 MEDIUM
Use After Free (CWE-416)
2026-05-13 mongodb GHSA-r8cx-9wfm-r3m7
6.1
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to MongoDB with valid credentials
  2. Delivery
    Craft FLE query with manipulated structure
  3. Exploit
    Submit query through mongocryptd/crypt_shared
  4. Execution
    Trigger use-after-free in query analysis
  5. Persist
    Corrupt client-side process memory
  6. Impact
    Leak information or crash encryption component

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) Valid MongoDB authentication credentials to connect to the database, (2) Ability to control or influence the structure of a client's FLE-related query-this means either direct query submission capability or influence over application logic that constructs queries, (3) Client-side use of mongocryptd daemon or crypt_shared library for Field-Level Encryption. The vulnerability does NOT require special server configuration or non-default settings; standard FLE deployments are vulnerable. Exploitation is limited to authenticated sessions and depends on query structure manipulation rather than simple network-level exploitation, which significantly restricts the attack surface compared to unauthenticated or low-complexity remote code execution scenarios.

Impact

CVSS 6.4 with network attack vector and low complexity reflects moderate but real risk. The requirement for authentication (PR:L) and high complexity (AC:H) significantly limits attack surface compared to unauthenticated scenarios. However, the Availability impact rating (High) combined with Information Disclosure and Integrity impact indicates memory corruption with serious consequences. The vulnerability requires attacker control over query structure, which is feasible if the attacker can influence client-side query construction-a realistic scenario in applications accepting user input for MongoDB queries. EPSS and KEV status are not provided, so exploitation in the wild cannot be confirmed. The memory corruption nature (use-after-free) suggests potential for escalation if combined with other flaws, though the current CVSS does not reflect code execution. Real-world risk is moderate: the requirement for authentication and query structure control significantly reduces automated exploitation, but organizations using FLE with untrusted query inputs face genuine exposure.

Exploit ScenarioDerived

An authenticated application user or attacker with database credentials crafts a MongoDB query with specially structured FLE encryption directives targeting the mongocryptd daemon. The malformed query triggers the use-after-free condition during query analysis, causing memory corruption that leaks sensitive information from the client process or crashes the encryption component, disrupting database operations. This scenario assumes the attacker can influence query construction-typical in applications with insufficient input validation or where application code constructs queries from user input.

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

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

Alert me

AnalysisAIv1 – May 13, 2026

Use-after-free in MongoDB Server's Field-Level Encryption query analysis component allows authenticated remote attackers with control over FLE query structure to cause information disclosure and denial of service. The vulnerability affects mongocryptd and crypt_shared in versions 7.0 prior to 7.0.34, 8.0 prior to 8.0.23, 8.2 prior to 8.2.9, and 8.3 prior to 8.3.2. No public exploit code identified at time of analysis.

RemediationAI

Upgrade MongoDB Server to patched versions: 7.0.34 or later, 8.0.23 or later, 8.2.9 or later, or 8.3.2 or later. Organizations unable to patch immediately should implement access controls restricting authenticated users who can submit FLE queries to trusted applications only, reducing the attack surface by limiting who can control query structure. Disable Field-Level Encryption on client instances if the feature is not required for the application's use case-this eliminates exposure entirely but may impact data protection strategy. Monitor applications for unusual memory-related errors or crashes correlated with FLE query patterns. These compensating controls trade functionality (encryption availability or user flexibility) against reduced risk exposure until patching is feasible.

Affected VersionsENISA

MongoDB Server 8.2 <8.2.9
MongoDB Server 7.0 <7.0.34
MongoDB Server 8.3 <8.3.2
MongoDB Server 8.0 <8.0.23

Affected Packages

euvd mongodb_server fix: 7.0.34, 8.0.23, 8.2.9, 8.3.2

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

MongoDB's Field-Level Encryption (FLE) provides client-side encryption of sensitive data before transmission to the database. The mongocryptd daemon and crypt_shared library handle query analysis and encryption/decryption operations on the client side. The vulnerability is a use-after-free defect (CWE-416) in the FLE query analysis component, where memory is referenced after being freed. This typically occurs when pointer management fails to track object lifecycle correctly, allowing subsequent operations to access dangling references. An authenticated attacker controlling the structure of FLE-related queries can craft payloads that trigger improper memory reuse, potentially leading to information disclosure through memory corruption or service interruption.

Know when Mongodb Server 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.1 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:L/SI:N/SA:N

Primary rating from Vendor (mongodb) · only source for this CVE.

CVSS VectorVendor: mongodb

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

Lifecycle Timeline

3
CVSS changed
May 13, 2026 - 15:52 NVD
6.4 (MEDIUM) 6.1 (MEDIUM)
Patch available
May 13, 2026 - 01:17 EUVD
CVE Published
May 13, 2026 - 00:12 nvd
MEDIUM 6.4

DescriptionCVE.org

A use-after-free vulnerability exists in MongoDB's Field-Level Encryption (FLE) query analysis component, affecting client-side uses of mongocryptd and crypt_shared. Triggering this vulnerability requires control over the structure of a client's FLE-related query.

This issue impacts MongoDB Server’s mongocryptd component v7.0 versions prior to 7.0.34, v8.0 versions prior to 8.0.23, v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.0%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

CVE-2026-82067 CRITICAL
9.2 Sep 08

Authorization bypass in MongoDB Server (7.0.x before 7.0.41, 8.0.x before 8.0.30, 8.3.x before 8.3.9) allows unauthentic

CVE-2026-18691 CRITICAL
9.0 Aug 11

Credential exposure in MongoDB Server's replica-set/sharded-cluster internal authentication allows an adjacent-network a

CVE-2026-18697 HIGH
8.7 Aug 11

Unauthenticated denial of service in MongoDB Server's aggregation framework allows remote attackers to crash the mongos

CVE-2026-82075 HIGH
8.7 Sep 08

Unauthenticated CPU exhaustion in the MongoDB sharded-cluster router process (mongos) allows any client with network acc

CVE-2026-82064 HIGH
8.7 Sep 08

Denial of service in MongoDB Server allows an unauthenticated remote attacker to terminate the mongod process by trigger

CVE-2026-8053 HIGH
8.7 May 12

Out-of-bounds memory write in MongoDB Server's time-series collection feature enables arbitrary code execution by authen

CVE-2026-4148 HIGH
8.7 Mar 17

MongoDB Server sharded clusters are vulnerable to use-after-free memory corruption when authenticated users with read pe

CVE-2026-9740 HIGH
8.7 Jun 09

Remote unauthenticated denial-of-service in MongoDB Server's BSON validation layer allows attackers to crash the mongod

CVE-2026-9742 HIGH
8.2 Jun 09

Pre-authentication denial-of-service in MongoDB Server allows unauthenticated remote clients to crash the database proce

CVE-2026-18692 HIGH
7.7 Aug 11

Use-after-free in MongoDB Server's timeseries bucket lifecycle handling allows an authenticated user with write-level pr

CVE-2026-89099 HIGH
7.7 Sep 11

Race condition in MongoDB Server's document value layer permits an authenticated user with ordinary read-write database

CVE-2026-8336 HIGH
7.7 May 13

Authenticated users can crash MongoDB Server by chaining specific server-side JavaScript operations ($_internalJsEmit or

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