CVE-2026-129930
5.7medium
Credential exposure via unmasked connection string in driver parse-error messages for the Node driver
- Severity
- 5.7medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Node.js Driver | from 4.0.0 before 7.9.1 | CVE List |
All scores
| mongodb | 5.7medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| mongodb | 4.7medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-129930 changed 2026-11-19 | CVE Terms of Use |
| NVD | CVE-2026-129930 changed 2026-11-23 | Public domain |