CVE-2026-129924
6.8medium
Credential exposure via unmasked connection string in driver parse-error messages for the Ruby driver
- Severity
- 6.8medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Ruby Driver | from 2.0.3 before 2.26.2 | CVE List |
All scores
| mongodb | 6.8medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| mongodb | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/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-129924 changed 2026-11-19 | CVE Terms of Use |
| NVD | CVE-2026-129924 changed 2026-11-23 | Public domain |