Skip to content
OpenAdvisories
Medium · 4.7 CVE-2026-129930 EUVD-2026-130678GHSA-x9f2-mmh7-7r3f

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

Published Nov 19, 2026 · Updated Nov 19, 2026 · Assigned by mongodb

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.

Affected products

VendorProductAffectedFixed
MongoDB Node.js Driver 4.0.0 – < 7.9.1 7.9.1

Advisories 1

References