CVE-2026-143881
MEDIUM 6.3CVSS 4.0Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- cna@mongodb.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-158
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@mongodb.com (Secondary) | CVSS 4.0 | MEDIUM 6.3 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | mongodb | CVSS 4.0 | MEDIUM 6.3 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVD | cna@mongodb.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CVE List | mongodb | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | MongoDB | PHP Driver | >= 1.0.0, < 1.21.16; >= 2.0.0, < 2.1.16; >= 2.2.0, < 2.5.10 | 1.21.16, 2.1.16, 2.5.10 |
References
History
- 3 Dec 2026 21:56 UTC · NVD: status Received → Awaiting Analysis
- 3 Dec 2026 11:56 UTC · CVE List: first stored (published 3 Dec 2026)
- 3 Dec 2026 11:56 UTC · NVD: first stored (published 3 Dec 2026)