cvelo
P4 · InfoCVSS 3.7EPSS 0.2%

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

  • CVE-2026-129923
  • GHSA-975g-87mm-x4q2
  • EUVD-2026-130681

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.

Text from the CVE.org record.

Recommendation

  • MongoDB Rust Driver

    • If you run a version from 3.0.0-beta to before 3.10.2update to 3.10.2 or laterMinor version change: check the release notes
    • If you run a version from 2.0.0-alpha to before 2.8.2update to 2.8.2 or laterMinor version change: check the release notes
    • If you run 1.2.xupdate to 1.2.5 or laterPatch update: breaking changes are unlikely

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 Rust Driver

    Affected versionsFixed in
    from 3.0.0-beta to before 3.10.23.10.2
    from 2.0.0-alpha to before 2.8.22.8.2
    from 1.2.0 to before 1.2.51.2.5

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.