CVE-2026-129924

published 19 Nov 2026 · updated 23 Nov 2026

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

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Ruby Driver 2.26.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBRuby Driver>=2.0.3 <2.26.22.26.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-129924 severity on Zeptric[![CVE-2026-129924](https://zeptric.io/badge/cve/CVE-2026-129924.svg)](https://zeptric.io/cve/CVE-2026-129924)