CVE-2026-135225: Sensitive information in error messages from the Ruby Driver connection string parser
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.
Affected Software
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Applications using the MongoDB Ruby Driver are exposed when connection-string parsing errors can be read through application error output or logs. Exposure is limited to parties with access to those error records.
What access does an attacker need to obtain the leaked data?
The attacker needs the ability to read the application's error output or logs containing a connection-string parsing error. Database authentication is not required.
How can teams check whether credentials may already have been exposed?
Review application error output and logs for MongoDB Ruby Driver connection-string parsing errors. Such errors may contain credential text and deployment coordinates because the applicable redaction control does not apply.