Skip to content

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

MediumCVSS 6.3 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Ubuntu

Description

The MongoDB Node.js 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.

Upgrade path

3 packages: 1 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/node-mongodb(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/node-mongodb(Ubuntu 24.04) All versions No fix listed No fix yet
MongoDB Node.js Driver < 7.9.1 7.9.1 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Node.js Driver < 7.9.1 7.9.1
ubuntu/node-mongodb(Ubuntu:22.04) All versions No fix listed
ubuntu/node-mongodb(Ubuntu:24.04) All versions No fix listed

References