Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-129935 EUVD-2026-130679GHSA-4r9j-hjvg-qm62

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

Published Nov 19, 2026 · Updated Nov 19, 2026 · Assigned by mongodb

Description

The MongoDB Go 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 products

VendorProductAffectedFixed
MongoDB GO Driver 1.0.0, 2.0.0 – < 2.10.1 2.10.1

Advisories 1

References