Skip to content
Threat Brief

← All advisories

CVE-2026-129924

Medium 6.8No known exploitationFix available

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

Record last updated

CVSS score

6.8

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.1%

Higher than 4% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-209

Patching and mitigation

Patch status
Fix available (source: CVE record (mongodb))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
No vendor link on record

Affected products

VendorProductAffected versionsFixed inPer
MongoDBRuby Driverfrom 2.0.3 before 2.26.22.26.2CVE Program

Timeline

  1. Disclosure

    CVE record published by mongodb

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (mongodb)

    Source: CVE record (mongodb) (opens in a new tab)

Vendor guidance and references