CVE-2026-81525 json
Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver
published 2026-08-27 2 mo ago modified 2026-09-29 40 d ago also GHSA-65fr-j4p9-vc33 , EUVD-2026-67209
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
The MongoDB client library for PHP does not sufficiently sanitize special elements in application-supplied namespace identifiers before using them to construct the target namespace for database operations. An application that incorporates untrusted text into these identifiers may have operations silently directed at a different storage location than the one the application intended.
Patch / fix
- packagist mongodb/mongodb 1.21.4, 2.4.1
- MongoDB PHP Library 1.21.4, 2.4.1
- MongoDB PHP Extension 1.21.6, 2.4.1
- github.com/mongodb/mongo-php-library@3a46221 commit
- github.com/mongodb/mongo-php-library@6f305a3 commit
- github.com/mongodb/mongo-php-library#1967 pull request
- github.com/mongodb/mongo-php-library#1968 pull request
- github.com/mongodb/mongo-php-library/releases/tag/1.21.4 release
- github.com/mongodb/mongo-php-library/releases/tag/2.4.1 release
- github.com/mongodb/mongo-php-driver/releases/tag/1.21.6 release
- github.com/mongodb/mongo-php-driver/releases/tag/2.4.1 release
- github.com/mongodb/mongo-php-driver/releases/tag/1.21.7 release
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.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 |
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| CNA | 4.0 | 8.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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | mongodb/mongodb | <1.21.4 >=2.0.0, <2.4.1 |
1.21.4 2.4.1 |
Affected products
- MongoDB PHP Library
- MongoDB PHP Extension
Classification
- Weakness
-
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic
References
-
github.com
/mongodb/mongo-php-library/pull/1967
web
-
github.com
/mongodb/mongo-php-library/pull/1968
web
-
github.com
/mongodb/mongo-php-library/commit/3a462213bb4fd46efa58a1937b06b1b0553b67a7
web
-
github.com
/mongodb/mongo-php-library/commit/6f305a3b21740080255a3093b12458274c7cc8ca
web
-
jira.mongodb.org
/browse/PHPLIB-1927
web, vendor-advisory
-
github.com
/mongodb/mongo-php-library/releases/tag/1.21.4
web, product, release-notes
-
github.com
/mongodb/mongo-php-library/releases/tag/2.4.1
web, product, release-notes
-
github.com
/mongodb/mongo-php-driver/releases/tag/1.21.6
web, product, release-notes
-
github.com
/mongodb/mongo-php-driver/releases/tag/2.4.1
web, product, release-notes
-
github.com
/mongodb/mongo-php-library/security/advisories/GHSA-65fr-j4p9-vc33
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-81525
advisory
-
github.com
/mongodb/mongo-php-driver/releases/tag/1.21.7
web
-
github.com
/mongodb/mongo-php-library
package
Sources
- CVE List CVE-2026-81525
- GitHub Advisory GHSA-65fr-j4p9-vc33
- NVD CVE-2026-81525
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.