CVE-2026-129925

published 19 Nov 2026 · updated 23 Nov 2026

Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials

3.7LowCVSS 3.7EPSS 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 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBRuby Driver>=2.0.0 <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-129925 severity on Zeptric[![CVE-2026-129925](https://zeptric.io/badge/cve/CVE-2026-129925.svg)](https://zeptric.io/cve/CVE-2026-129925)