CVE-2026-129930
JSON

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 packageVersionsReported by
MongoDB Node.js Driverfrom 4.0.0 before 7.9.1CVE List

All scores

mongodb5.7medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
mongodb4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-209

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-129930 changed 2026-11-19CVE Terms of Use
NVDCVE-2026-129930 changed 2026-11-23Public domain