Credential exposure via unmasked connection string in driver parse-error messages for the Node driver
- CVE-2026-129930
- GHSA-x9f2-mmh7-7r3f
- EUVD-2026-130678
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.
Text from the CVE.org record.
Recommendation
MongoDB Node.js Driver
- If you run a version from 4.0.0 to before 7.9.1update to 7.9.1 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
MongoDB Node.js Driver
Affected versions Fixed in from 4.0.0 to before 7.9.1 7.9.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.