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

Published Dec 3, 2026
·
Updated

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.

Affected Software

1 affected component
MongoDB MongoDB PHP driver

Event History

Dec 3, 2026
CVE Published
via MITRE·11:07 AM
Data Sourced
via MITRE·11:07 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 AM
DescriptionSeverityWeakness
Event
via NVD·11:17 AM

Frequently Asked Questions

1

Which deployments are exposed?

Only deployments that use SASL PLAIN authentication are affected. The issue is relevant where a party can choose the user name or password values that an application passes to the MongoDB PHP Driver.

2

What does an attacker need to exploit this behavior?

The attacker must be able to supply login values to the application and include NUL characters that alter the SASL PLAIN message field boundaries. Authenticating as another account still requires that account's password.

3

Does this allow authentication as another user without knowing that user's password?

No. Although the receiving system may interpret a different login name and secret than the application supplied, authentication as a different account still requires that account's password.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203