Skip to main content
CVE-2026-143881VulnerabilityPublished

The MongoDB PHP Driver does not neutralize NUL characters in the user name and password values it places into the

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-143881· Medium 6.3

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

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (mongodb)CVSS 4.06.3
CNA (mongodb)CVSS 3.13.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
MongoDBPHP DriverAffected
  • >=2.2.0 <2.5.10
Fixed in
  • 2.5.10
MongoDBPHP DriverAffected
  • >=2.0.0 <2.1.16
Fixed in
  • 2.1.16
MongoDBPHP DriverAffected
  • >=1.0.0 <1.21.16
Fixed in
  • 1.21.16
Packagistmongodb/mongodbpkg:composer/mongodb/mongodbOther threatsAffected
  • >=1.0.0 <1.21.16
  • >=2.0.0 <2.1.16
  • >=2.2.0 <2.5.10
Fixed in
  • 1.21.16
  • 2.1.16
  • 2.5.10

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.

References

Community reviews

Loading reviews…