MongoDB Node.js Driver leaks connection string credentials in parse errors
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-209.
Summary
MongoDB's Node.js driver, versions 4.0.0 before 7.9.1, can include sensitive data from an application-supplied connection string in the text of an error raised while parsing that string. The error occurs inside the application process before any database connection is attempted, so no database account or network access is required. Anyone who can read the application's error output or log files may obtain database credentials that the configuration source would otherwise keep from them. CWE-209 applies, the CVSS 4.0 base score is 5.7 (MEDIUM), and Red Hat rates it Moderate.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
MongoDB fixed the issue in Node.js Driver 7.9.1. Upgrade to 7.9.1 or later. CISA has not added this to KEV, and no exploit link is listed in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA Node.js Driver (MongoDB) Fixed in 7.9.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
MongoDB Node.js Driver 7.9.1
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-95104 NUL character injection in MongoDB Node.js Driver SASL PLAIN loginPriority LOW 28
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Serverless | Affected | No fix yet: Fix deferred |
| Red Hat Developer Hub 2 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Openshift Data Foundation 4
Timeline
- 2026-11-19 Threatist record created from CVE-2026-129930
- 2026-11-19 CISA SSVC decision points changed
- 2026-11-19 Alias added: GHSA-x9f2-mmh7-7r3f
- 2026-11-25 Affected versions changed · Red Hat
- 2026-11-25 CVSS score added · Red Hat
References
More MongoDB vulnerabilities
- TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
- TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-129930 · CVE Program
- CVE-2026-129930 · NVD
- FIRST EPSS
- GHSA-x9f2-mmh7-7r3f · GitHub Advisory Database · CC BY 4.0
- CVE-2026-129930 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences