MongoDB Ruby Driver Info Disclosure via Connection String Parsing Error
CVE-2026-135225 Published on November 25, 2026
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.
Vulnerability Analysis
CVE-2026-135225 can be exploited with local system access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2026-135225. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
Generation of Error Message Containing Sensitive Information
The software generates an error message that includes sensitive information about its environment, users, or associated data.
Affected Versions
MongoDB Ruby Driver:- Version 2.0.3 and below 2.26.2 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.