Unmasked Connection String Exposure in MongoDB Ruby Driver from MongoDB
CVE-2026-129924

6.8MEDIUM

Key Information:

Vendor

Mongodb

Vendor
CVE Published:
19 November 2026

What is CVE-2026-129924?

The MongoDB Ruby driver has a vulnerability that exposes unmasked connection string content in error messages when connection strings cannot be parsed. If such a connection string contains sensitive information, like secrets or credentials, these may be inadvertently revealed in cleartext within application error outputs or logs. Importantly, no specific privileges on the driver or network access are required to trigger this issue; anyone with visibility into the application’s error messages can potentially access the leaked secrets.

Affected Version(s)

Ruby Driver 2.0.3 < 2.26.2

References

CVSS V4

Score:
6.8
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.