CVE-2026-135225

Sensitive information in error messages from the Ruby Driver connection string parser

Medium published · updated

5.7
CVSS score out of 10 · NVD (mongodb.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
ruby driver mongodb 2.0.3 → <2.26.22.26.2 CVE.org

References