CVE-2026-129924
Credential exposure via unmasked connection string in driver parse-error messages for the Ruby driver
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.
INFO
Published Date :
Nov. 19, 2026, 7:25 p.m.
Last Modified :
Nov. 19, 2026, 7:25 p.m.
Remotely Exploit :
No
Source :
mongodb
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | a39b4221-9bd0-4244-95fc-f3e2e07f1deb | ||||
| CVSS 3.1 | MEDIUM | MITRE-CVE | ||||
| CVSS 4.0 | MEDIUM | a39b4221-9bd0-4244-95fc-f3e2e07f1deb |
Solution
- Avoid including secrets in MongoDB connection strings.
- Sanitize error messages to prevent secret exposure.
- Update the MongoDB Ruby driver to the latest version.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-129924 vulnerability anywhere in the article.