CVE-2026-129924
published medium CVSS 4.0 · 6.8Credential exposure via unmasked connection string in driver parse-error messages for the Ruby driver
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | Ruby Driver2.0.3 to < 2.26.2 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | mongodb · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | Ruby Driver | 2.0.3 to < 2.26.2 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-209 CWE-209: Generation of Error Message Containing Sensitive Information
References
1Provider assertions
2mongodb · cna
Credential exposure via unmasked connection string in driver parse-error messages for the Ruby driver
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 14bff275eccabe86ececda17382122d0877c2bbc35185cc556cc610a46f3680c
- Ingested
- 19 Nov 2026, 21:17:33 UTC
- Source record
- Official CVE record