Information Exposure in MongoDB Ruby Driver
CVE-2026-135225
5.7MEDIUM
What is CVE-2026-135225?
A security flaw in the connection string handling of the MongoDB Ruby Driver allows sensitive credentials from the application's configuration to be inadvertently revealed in error messages. This issue occurs when the application generates parsing errors without adequate redaction of the output, enabling someone who can access logs or error messages to extract confidential database credentials and deployment settings. The flaw exists entirely within the context of the application, eliminating the need for database authentication to exploit.
Affected Version(s)
Ruby Driver 2.0.3 < 2.26.2