CVE-2026-129923
JSON

6.3medium

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

Severity
6.3medium CVSS:4.0 by mongodb
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb

Description

The MongoDB Rust 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

Product or packageVersionsReported by
MongoDB Rust Driverfrom 1.2.0 before 1.2.5, from 2.0.0-alpha before 2.8.2, from 3.0.0-beta before 3.10.2CVE List

All scores

mongodb6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
mongodb3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-158

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-129923 changed 2026-11-19CVE Terms of Use
NVDCVE-2026-129923 changed 2026-11-19Public domain