Skip to content

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

MediumCVSS 5.7 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Ubuntu

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.

Upgrade path

5 packages: 1 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/ruby-mongo(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/ruby-mongo(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/ruby-mongo(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/ruby-mongo(Ubuntu 26.10) All versions No fix listed No fix yet
MongoDB Ruby Driver >= 2.0.3, < 2.26.2 2.26.2 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Ruby Driver >= 2.0.3, < 2.26.2 2.26.2
ubuntu/ruby-mongo(Ubuntu:24.04) All versions No fix listed
ubuntu/ruby-mongo(Ubuntu:26.04) All versions No fix listed
ubuntu/ruby-mongo(Ubuntu:26.10) All versions No fix listed
ubuntu/ruby-mongo(Ubuntu:22.04) All versions No fix listed

References