Skip to main content

MongoDB Node.js Driver CVE-2026-129930

| EUVDEUVD-2026-130678 MEDIUM
Error Message Information Leak (CWE-209)
2026-11-19 mongodb GHSA-x9f2-mmh7-7r3f
5.7
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Obtain read access to app error output or logs
  2. Delivery
    Trigger or await a connection-string parse error
  3. Exploit
    Credentials embedded in error text
  4. Execution
    Extract database credentials from the message
  5. Impact
    Authenticate to MongoDB with stolen credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error message sanitization
MITRE ATT&CK

1 technique across 1 tactic: Discovery

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) an application that passes credentials embedded in a MongoDB connection string to the Node.js driver, (2) a connection-string value that causes the driver's parser to raise an error, and (3) an attacker able to read the application's error output or log files where that error is recorded. The error is generated inside the application process before any database connection, so no MongoDB account and no network access to the database are needed. Limiting factors: this is local/log-exposure-dependent (AV:L), not remotely triggerable; it requires some existing access (PR:L) and a specific attack condition (AT:P) - namely that the credential-bearing error actually occurs and is written to a sink the attacker can read; and it leaks confidentiality only (no integrity or availability impact). Deployments that keep credentials out of the connection string (e.g., separate auth configuration) or that restrict log readability are not meaningfully exposed.

Impact

This is a genuine but moderate-priority information-disclosure issue (CWE-209), not a high-CVSS/low-real-risk false alarm - and importantly it is not an inflated one either, scoring CVSS 4.0 base 5.7 (Medium). The supplied CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:L/UI:N/VC:H) tells a consistent story: exploitation is LOCAL (AV:L), not network-reachable, requires some privilege (PR:L) and a specific attack condition (AT:P), and yields high confidentiality impact (VC:H) with no integrity or availability effect - matching a credential leak into error text. The real-world constraint is that an attacker must already be able to read the application's error output or log files, which is an insider, log-aggregation, or post-compromise position rather than a remote entry point. No EPSS score was provided, the CVE is NOT in CISA KEV, and no proof-of-concept or exploit was supplied - the only reference is a MongoDB Jira ticket (NODE-7799), which is a bug-tracking record, not working exploit code. The vuln.today decision label is 'this_month', not 'act_now' or 'emergency', which aligns with the Medium severity and the lack of active-exploitation signals. Signals are mutually consistent here (no conflict between network vs local), so the practical priority is: patch on a normal cycle, and treat it as more urgent in environments where database credentials are embedded in connection strings and logs are broadly readable.

Exploit ScenarioDerived

An application using the MongoDB Node.js driver constructs a connection string containing database credentials; during parsing the driver raises an error whose text embeds that connection string, and the error is written to the application's error output or log files before any database connection is attempted. A party with read access to those logs - a low-privileged local user, a log-aggregation consumer, or an attacker who has already gained a foothold - reads the credentials from the error text. No public exploit or PoC code is available; only a MongoDB Jira issue reference exists.

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

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

Alert me

AnalysisAIv1 – Nov 19, 2026

MongoDB Node.js Driver can place sensitive data from an application-supplied connection string, including database credentials, into parser error text generated inside the application process before any database connection is made. Applications that embed credentials in MongoDB connection strings and let low-privileged parties read error output or logs may expose those credentials; no MongoDB account or network access to the database is required. This is a genuine but moderate-priority information-disclosure issue (CWE-209; CVSS 4.0 base 5.7), with no public exploit identified at time of analysis.

RemediationAI

Upgrade the MongoDB Node.js driver to a release that contains the fix for NODE-7799; the available data does not list an exact fixed version, so confirm the resolved driver version in the MongoDB JIRA issue at https://jira.mongodb.org/browse/NODE-7799. Until then, avoid embedding credentials in connection strings and supply authentication through separate configuration so parser errors cannot contain them - this requires application configuration or code changes. Also restrict read access to application error output and log files; this reduces troubleshooting visibility for operators.

Affected VersionsENISA

Node.js Driver 4.0.0 <7.9.1

Affected Packages

euvd node_js_driver fix: 7.9.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 the MongoDB Node.js driver, identified by CPE cpe:2.3:a:mongodb:node.js_driver:*:*:*:*:*:*:*:* with a wildcard version range in the available data. The root cause is CWE-209, Generation of Error Message Containing Sensitive Information: the driver's connection-string parser can include application-supplied connection-string values in the text of an error raised during parsing. Because that error is produced inside the application process before any database connection, its occurrence does not require a MongoDB account or network access to the database. The assessed vector is local (AV:L) with low privileges (PR:L) and a specific attack condition (AT:P) - the credential-bearing parse error must actually occur and be written to a sink the attacker can read - with high confidentiality impact only and no integrity or availability impact.

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

Local log/error exposure not network-reachable (AV:L); needs a parse error to occur and be readable, mapping 4.0's AT:P to AC:H; some access required (PR:L); credential leak is confidentiality-only (C:H, I/A:N).

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

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

Lifecycle Timeline

2
Patch available
Nov 19, 2026 - 21:19 EUVD
CVE Published
Nov 19, 2026 - 19:18 cve.org
MEDIUM 5.7

DescriptionCVE.org

A weakness in the MongoDB Node.js driver can place sensitive information taken from an application-supplied connection string into the text of an error produced while that connection string is being parsed. The error is generated inside the application process before any database connection is made, so no database account and no network access are needed for it to occur. A party able to read the application's error output or log files may thereby obtain database credentials that the application's configuration source would otherwise keep to a narrower audience.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
Official MongoDB Node.js driver, a very widely deployed database client in Node ecosystems
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

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.1%
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
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

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-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-137498 CRITICAL
9.9 Nov 26

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or

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

Vendor StatusVendor

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