Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-129924 EUVD-2026-130682GHSA-gf25-mgjq-4vj3

Credential exposure via unmasked connection string in driver parse-error messages for the Ruby driver

Published Nov 19, 2026 · Updated Nov 19, 2026 · Assigned by mongodb

Description

The MongoDB Ruby driver can include unmasked connection string content in the error it raises when a connection string cannot be parsed. If that connection string carries a secret, the secret may be disclosed in cleartext through the application's error output or logs. No privileges on the driver and no network access are needed to produce the error; a party able to read the application's error output may obtain the secret.

Affected products

VendorProductAffectedFixed
MongoDB Ruby Driver 2.0.3 – < 2.26.2 2.26.2

Advisories 1

References