freenode

← CVE tracker

CVE-2026-129924

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

Severity
medium CVSS 6.8 (v4.0)
Affects
Ruby Driver · MongoDB
Weakness
CWE-209: Generation of Error Message Containing Sensitive Information
Published
19 November 2026 by mongodb
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.