Skip to main content
VulnerabilityPublished

CVE-2026-81525: MongoDB PHP Library · Improper Neutralization of Special Elements in Data Query Logic

Affects MongoDB PHP LibrarySource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.6 High : upgrade to 2.4.1 or 1.21.4 soon.

Data as of 25 Nov 2026, 14:04 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 34% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.4.1, 1.21.4, 1.21.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Aug 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 25 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
MongoDBPHP LibraryAffected
  • >=2.0.0 <2.4.1
Fixed in
  • 2.4.1
MongoDBPHP LibraryAffected
  • <1.21.4
Fixed in
  • 1.21.4
MongoDBPHP ExtensionAffected
  • >=2.0.0 <2.4.1
Fixed in
  • 2.4.1
MongoDBPHP ExtensionAffected
  • <1.21.6
Fixed in
  • 1.21.6
Packagistmongodb/mongodbpkg:composer/mongodb/mongodbOther threatsAffected
  • <1.21.4
Fixed in
  • 1.21.4
Packagistmongodb/mongodbpkg:composer/mongodb/mongodbOther threatsAffected
  • 2.0.0 – 2.4.0
  • >=2.0.0 <2.4.1
7 affected builds
Fixed in
  • 2.4.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

CVE-2026-81525 is a high-severity vulnerability in the MongoDB PHP client library involving improper neutralization of special elements in namespace identifiers. This flaw can cause database operations to be redirected to unintended storage locations when untrusted input is used. It affects multiple versions of the library, including versions before 1.21.4 and 2.4.1.

References

Community reviews

Loading reviews…