CVE-2026-129930
CVE-2026-129930 · Credential exposure via unmasked connection string in driver parse-error messages for the Node driver
CVSS 5.7 · Medium · EPSS 0.1% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- node.js driverUpdate to 7.9.1
- node-mongodb Ubuntu 20.04 LTSNo fix published
- node-mongodb Ubuntu 22.04 LTSNo fix published
- node-mongodb Ubuntu 24.04 LTSNo fix published
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="node-mongodb"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
node.js driver
- Versions
- ≥ 4.0.0, < 7.9.1: Affected (semver)
Update to 7.9.1
node-mongodb Ubuntu 20.04 LTS
- Versions
- 3.3.1+~3.2.7-1
- 3.3.2+~3.2.7-1
- 3.3.3+~3.2.7-1
- 3.3.5+~3.2.7-1
- 3.4.0+~3.2.7-1
- 3.4.1+~3.2.7-1
All versions (10)
- 3.5.0+~3.2.7-1
- 3.5.2+~3.2.7-1
- 3.5.3+~3.2.7-1
- 3.5.5+~3.2.7-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-mongodb Ubuntu 22.04 LTS
- Versions
- 3.6.4+~cs11.13.19-1
- 3.6.4+~cs11.13.19-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
node-mongodb Ubuntu 24.04 LTS
- Versions
- 3.6.4+~cs11.13.19-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published