freenode

← CVE tracker

CVE-2026-143881

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

Severity
medium CVSS 6.3 (v4.0)
Affects
PHP Driver · MongoDB
Weakness
CWE-158: Improper Neutralization of Null Byte or NUL Character
Published
3 December 2026 by mongodb
The MongoDB PHP 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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.