Skip to main content

MongoDB Server EUVDEUVD-2026-29891

| CVE-2026-8200 MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
2026-05-13 mongodb GHSA-595w-9635-gr7c
4.8
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Obtain MongoDB admin credentials
  2. Delivery
    Enable schema validation on target collection
  3. Exploit
    Submit write operation violating schema
  4. Execution
    Inspect local server logs
  5. Impact
    Extract unredacted user data from validation error messages

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
Exploitation Conditions

Exploitation requires the following specific conditions: (1) Schema validation must be explicitly enabled on at least one collection in the MongoDB instance (this is not the default state), (2) the attacker must possess MongoDB administrative credentials (PR:H in CVSS vector) to execute write operations and access logs, (3) an insert or update operation must be executed that violates the defined schema constraints to trigger the logging path, and (4) the attacker must have filesystem or application-level access to read MongoDB server log files. Exploitation is NOT possible against default MongoDB installations without schema validation enabled, against non-administrative users (authentication required), or in environments where server logs are encrypted or access-controlled. The network accessibility (AV:N) applies only to the initial MongoDB connection; actual data exposure occurs via local log file inspection, not remote log transmission.

Impact

This vulnerability presents minimal real-world risk despite confirmed patch availability. The CVSS vector (AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N) indicates network accessibility but requires PR:H (high privilege - administrative access), severely limiting the threat model. An attacker must already possess MongoDB administrative credentials to trigger schema validation errors and inspect local server logs. The confidentiality impact is rated as Low (C:L), indicating partial information exposure rather than wholesale data extraction. The information disclosure is confined to log files accessible only to system administrators or users with filesystem access to the MongoDB server logs, not exposed via application queries or APIs. No public exploit code exists, active exploitation is not confirmed in CISA KEV, and the attack requires intentional triggering of schema validation failures followed by log file access. Organizations with strong administrative access controls and log management practices face minimal actual risk. The patch availability for all four affected version branches indicates MongoDB has treated this as a manageable, non-critical issue.

Exploit ScenarioDerived

An authenticated MongoDB administrator with high-privilege credentials intentionally inserts or updates a document that violates an enabled collection schema constraint, causing MongoDB to log the validation error. The administrator then inspects the local MongoDB server logs and discovers that user data (such as field values, schema definitions, or error context) was not fully redacted in the error message, revealing sensitive information that should have been masked. This scenario is primarily relevant in multi-tenant environments or when non-database-owner administrators have log access.

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

MongoDB Server fails to fully redact user data in local server log messages when schema validation is enabled and an update or insert operation violates the collection schema, allowing authenticated administrators to access sensitive information through log inspection. This information disclosure affects MongoDB Server 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. The vulnerability requires high-privilege administrative access and has a low CVSS score of 2.7, indicating limited real-world impact despite confirmed patch availability.

RemediationAI

Upgrade MongoDB Server to version 7.0.34 or later for the v7.0 branch, 8.0.23 or later for the v8.0 branch, 8.2.9 or later for the v8.2 branch, or 8.3.2 or later for the v8.3 branch. See MongoDB JIRA ticket SERVER-121895 for patch details and release notes. As an interim mitigation pending upgrade, disable schema validation on sensitive collections if not operationally critical, or restrict access to MongoDB server log files (typically located in /var/log/mongodb/ on Linux or Application Data/MongoDB/logs on Windows) to only essential system administrators and automated log aggregation systems. Note that disabling schema validation may impact data quality enforcement, requiring compensating application-level validation logic. Log file access restrictions are recommended as a complementary control regardless of patch status to limit information disclosure from any potential log content issues.

Affected VersionsENISA

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

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 Server implements schema validation as an optional feature that enforces document structure constraints on collections. When validation is enabled and a write operation (insert or update) violates the defined schema, the server generates a local log entry documenting the validation failure. The vulnerability stems from incomplete data redaction in these error log messages (CWE-532: Insertion of Sensitive Information into Log File). While MongoDB typically redacts user data in logs to prevent exposure of personally identifiable information or sensitive field values, the validation error logging path fails to apply this redaction consistently across all user-supplied data in the schema violation message. This affects the MongoDB Server process logs on the local system, not network-exposed APIs.

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

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

CVSS VectorVendor: mongodb

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

Lifecycle Timeline

4
Severity Changed
May 13, 2026 - 15:52 NVD
LOW MEDIUM
CVSS changed
May 13, 2026 - 15:52 NVD
2.7 (LOW) 4.8 (MEDIUM)
Patch available
May 13, 2026 - 01:17 EUVD
CVE Published
May 13, 2026 - 00:08 nvd
LOW 2.7

DescriptionCVE.org

When schema validation is enabled on a collection and an update or insert would violate the collection's schema, the local server log message generated may not have all user data redacted.

This issue impacts MongoDB Server 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 93% 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

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
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-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