cvelo
P4 · InfoCVSS 3.7EPSS 0.4%

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

  • CVE-2026-143881
  • GHSA-h88p-rgxr-7rrm
  • EUVD-2026-143075

Description

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.

Text from the CVE.org record.

Recommendation

  • MongoDB PHP Driver

    • If you run a version from 2.2.0 to before 2.5.10update to 2.5.10 or laterMinor version change: check the release notes
    • If you run a version from 2.0.0 to before 2.1.16update to 2.1.16 or laterMinor version change: check the release notes
    • If you run a version from 1.0.0 to before 1.21.16update to 1.21.16 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • MongoDB PHP Driver

    Affected versionsFixed in
    from 2.2.0 to before 2.5.102.5.10
    from 2.0.0 to before 2.1.162.1.16
    from 1.0.0 to before 1.21.161.21.16

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.