Sensitive information in error messages from the Ruby Driver connection string parser
- State
- Published
- Severity
- 5.7 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 23, 2026
Description
An information exposure weakness in the connection string handling of the MongoDB Ruby Driver can place credential material from the application's own configuration into the text of a parsing error, where an existing redaction control does not apply. A party able to read the application's error output or logs may thereby obtain database credential text together with deployment coordinates. The condition arises entirely within the embedding application process and requires no database authentication.
| Product | Versions |
|---|---|
| Ruby Driver MongoDB | 2.0.3 to before 2.26.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.7 Medium | mongodb | |
| 3.1 | 5.5 Medium | mongodb |
Weaknesses
- CWE-209 Generation of Error Message Containing Sensitive Information
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.