CVE-2026-129924
Medium 6.8No known exploitationFix availableCredential exposure via unmasked connection string in driver parse-error messages for the Ruby driver
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 4% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
The MongoDB Ruby driver can include unmasked connection string content in the error it raises when a connection string cannot be parsed. If that connection string carries a secret, the secret may be disclosed in cleartext through the application's error output or logs. No privileges on the driver and no network access are needed to produce the error; a party able to read the application's error output may obtain the secret.
Weakness: CWE-209
Patching and mitigation
- Patch status
- Fix available (source: CVE record (mongodb))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| MongoDB | Ruby Driver | from 2.0.3 before 2.26.2 | 2.26.2 | CVE Program |
Timeline
Disclosure
CVE record published by mongodb
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (mongodb)