CVE-2026-129924: MongoDB Ruby Driver

Medium severity, CVSS 5.5. EPSS: 0.2% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • MongoDB Ruby Driver, from 2.0.3, before 2.26.2: fixed in 2.26.2

Affected products

Published 2026-11-19. Last modified 2026-11-23.