Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain MongoDB admin credentials
-
DeliveryEnable schema validation on target collection
-
ExploitSubmit write operation violating schema
-
ExecutionInspect local server logs
-
ImpactExtract 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
Lifecycle Timeline
4DescriptionCVE.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
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.
More in Mongodb Server
View allAuthorization 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
Credential exposure in MongoDB Server's replica-set/sharded-cluster internal authentication allows an adjacent-network a
Unauthenticated denial of service in MongoDB Server's aggregation framework allows remote attackers to crash the mongos
Unauthenticated CPU exhaustion in the MongoDB sharded-cluster router process (mongos) allows any client with network acc
Denial of service in MongoDB Server allows an unauthenticated remote attacker to terminate the mongod process by trigger
Out-of-bounds memory write in MongoDB Server's time-series collection feature enables arbitrary code execution by authen
MongoDB Server sharded clusters are vulnerable to use-after-free memory corruption when authenticated users with read pe
Remote unauthenticated denial-of-service in MongoDB Server's BSON validation layer allows attackers to crash the mongod
Pre-authentication denial-of-service in MongoDB Server allows unauthenticated remote clients to crash the database proce
Use-after-free in MongoDB Server's timeseries bucket lifecycle handling allows an authenticated user with write-level pr
Race condition in MongoDB Server's document value layer permits an authenticated user with ordinary read-write database
Authenticated users can crash MongoDB Server by chaining specific server-side JavaScript operations ($_internalJsEmit or
EUVD-2026-29891
GHSA-595w-9635-gr7c
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB