Skip to content
DayZeroHub
Medium Not yet writtenCVSS 5.7CVE-2026-135225

CVE-2026-135225: Sensitive information in error messages from the Ruby Driver connection string parser

MongoDB Ruby Driver

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

ProductVersionsFixed in
MongoDB Ruby Driver>= 2.0.3, < 2.26.2—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-209

Relevant change history

  1. Published

    Preliminary advisory published.