The MongoDB PHP Driver does not neutralize NUL characters in the user name and password values it places into the
Source GCVE Database
Not known to be exploited · CVSS 6.3 Medium · fixed in 2.5.10 : update PHP Driver when convenient.
Data as of 3 Dec 2026, 13:34 UTC
Thin evidence
One scorer or none| CNA (mongodb) | CVSS 4.0 | 6.3 |
|---|---|---|
| CNA (mongodb) | CVSS 3.1 | 3.7 |
- Patch
- Available – fixed in 2.5.10, 2.1.16, 1.21.16
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade PHP Driver and mongodb/mongodb to 2.5.10, 2.1.16 or 1.21.16.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MongoDBPHP Driver | Affected
| Fixed in
|
| MongoDBPHP Driver | Affected
| Fixed in
|
| MongoDBPHP Driver | Affected
| Fixed in
|
Packagistmongodb/mongodbpkg:composer/mongodb/mongodbOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Since this vulnerability only affects SASL PLAIN authentication, avoiding or disabling SASL PLAIN authentication can mitigate the risk. Monitor vendor advisories for any forthcoming patches or updates addressing this issue.
Description
The MongoDB PHP Driver has a vulnerability in its handling of NUL characters within user name and password values used for SASL PLAIN authentication. This flaw allows an attacker who can control these login values to manipulate the authentication message fields, potentially causing the receiving system to interpret different credentials than those intended by the application. This issue only affects deployments using SASL PLAIN authentication.