Skip to content

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

MediumCVSS 5.7 EPSS 0.13%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Ubuntu

Description

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.

Upgrade path

3 packages: 1 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/node-mongodb(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/node-mongodb(Ubuntu 24.04) All versions No fix listed No fix yet
MongoDB Node.js Driver >= 4.0.0, < 7.9.1 7.9.1 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Node.js Driver >= 4.0.0, < 7.9.1 7.9.1
ubuntu/node-mongodb(Ubuntu:22.04) All versions No fix listed
ubuntu/node-mongodb(Ubuntu:24.04) All versions No fix listed

References