Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-135225: medium-severity vulnerability (CVSS 5.7) in MongoDB Ruby Driver.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.7.
Affected products and versions
MongoDB Ruby Driver >= 2.0.3, < 2.26.2
| Product | Versions | Fixed in |
|---|---|---|
| MongoDB Ruby Driver | >= 2.0.3, < 2.26.2 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://jira.mongodb.org/browse/RUBY-3939 — CVE Program
Weaknesses (CWE): CWE-209
Relevant change history
Published
Preliminary advisory published.