Skip to content

Node.js Driver

Credential exposure via unmasked connection string in driver parse-error messages for the Node driver

CVE-2026-129930Published 19 Nov 2026, 19:18 UTC

Real-world risk

1.5/ 10Low

Routine

If the vulnerable configuration applies to you: 3.4

PreliminaryFrom the CVSS vector only · confidence low

CVSS

5.7

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from mongodb)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Node.js DriverNiche>= 4.0.0, < 7.9.17.9.1

What to do

Update to a fixed version: 7.9.1.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.1% chance of exploitation in 30 days (percentile 3), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.225
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.225 × threat 0.851.530
  4. Rounded to one decimal between 0.1 and 101.5

How the score works

Exploitation and evidence timeline

  1. 19 Nov 2026 Published
  2. 3 Dec 2026 Risk 1.5 (cvss fallback)

Weakness

CWE-209

References

Get alerts for Node.js Driver

Free email or text alerts when a vulnerability in Node.js Driver reaches risk 8 or higher. Nothing else.