CVE-2026-81525: MongoDB PHP Library · Improper Neutralization of Special Elements in Data Query Logic
Affects MongoDB PHP LibrarySource CVE Database V5
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Aug 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 25 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MongoDBPHP Library | Affected
| Fixed in
|
| MongoDBPHP Library | Affected
| Fixed in
|
| MongoDBPHP Extension | Affected
| Fixed in
|
| MongoDBPHP Extension | Affected
| Fixed in
|
Packagistmongodb/mongodbpkg:composer/mongodb/mongodbOther threats | 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.
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
- github.com/mongodb/mongo-php-library/releases/tag/2.4.1 (opens in a new tab)
- github.com/mongodb/mongo-php-driver/releases/tag/1.21.7 (opens in a new tab)
- jira.mongodb.org/browse/PHPLIB-1927 (opens in a new tab)
- github.com/mongodb/mongo-php-library/releases/tag/1.21.4 (opens in a new tab)
- github.com/mongodb/mongo-php-driver/releases/tag/1.21.6 (opens in a new tab)
- github.com/mongodb/mongo-php-driver/releases/tag/2.4.1 (opens in a new tab)