Php mongodb: The MongoDB client library for PHP does not sufficiently sanitize special elements in
Affects php-mongodbSource GCVE Database
Not known to be exploited · CVSS 8.6 High.
Data as of 24 Nov 2026, 21:16 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10php-mongodbpkg:deb/ubuntu/php-mongodb?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSphp-mongodbpkg:deb/ubuntu/php-mongodb?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSphp-mongodbpkg:deb/ubuntu/php-mongodb?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSphp-mongodbpkg:deb/ubuntu/php-mongodb?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSphp-mongodbpkg:deb/ubuntu/php-mongodb?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSphp-mongodbpkg:deb/ubuntu/php-mongodb?arch=source&distro=bionicOther 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
Until a fix is available, avoid incorporating untrusted text into namespace identifiers used by the PHP MongoDB client library to prevent unintended redirection of database operations.
Description
The PHP MongoDB client library has a vulnerability where it does not properly sanitize special elements in namespace identifiers supplied by applications. This can cause database operations to be redirected silently to unintended storage locations if untrusted input is used in these identifiers. The vulnerability affects multiple specific versions of the php-mongodb library. The CVSS score is 8.1, indicating a high severity impact with potential for confidentiality and integrity compromise without user interaction.
References
- ubuntu.com/security/CVE-2026-81525 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-81525 (opens in a new tab)
- jira.mongodb.org/browse/PHPLIB-1927 (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)
- github.com/mongodb/mongo-php-library/releases/tag/1.21.4 (opens in a new tab)
- github.com/mongodb/mongo-php-library/releases/tag/2.4.1 (opens in a new tab)