CVE-2026-129925: MongoDB Ruby Driver

Low severity, CVSS 3.7. EPSS: 0.3% probability of exploitation activity in the next 30 days.

The MongoDB Ruby Driver does not neutralize NUL characters in the user name and password values it places into the message it builds for SASL PLAIN authentication. A party who can choose the login values that an application passes to the driver can alter where the fields of that message begin and end. This may result in a receiving system reading a login name and secret that differ from the values the application supplied. Authenticating as a different account still requires that account's password. Only deployments that use SASL PLAIN authentication are affected.

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.0, before 2.26.2: fixed in 2.26.2

Affected products

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