Medium severity · published Sep 24, 2026
CVE-2026-96745
PHP object injection via unsuppressible __pclass class inference in command monitoring events
5.6
CVSS
0.3%
EPSS
No
On KEV
Description
Deserialization of untrusted data in the command monitoring support of the MongoDB PHP Driver can cause class names embedded in document content to be honored when the driver builds monitoring event objects. When an application registers a command monitoring subscriber and includes untrusted data in a database operation, an unauthenticated party who controls that data may cause an application class implementing the driver's persistable interface to be instantiated and its unserialization method invoked with the supplied data. The resulting impact depends on the classes available in the application.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 26% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MO
MongoDB · MongoDB
before 1.21.10; 2.0.0 before 2.1.10; 2.2.0 before 2.5.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-96745
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-96745
github.com
https://github.com/mongodb/mongo-php-driver/pull/2115
github.com
https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.10
github.com
https://github.com/mongodb/mongo-php-driver/releases/tag/2.1.10
github.com
https://github.com/mongodb/mongo-php-driver/releases/tag/2.5.3
github.com
https://github.com/mongodb/mongo-php-driver/security/advisories/GHSA-cmvj-vxvq-rh2c
More from MongoDB
9.9
CVE-2019-10758
MongoDB mongo-express Remote Code Execution Vulnerability
7.5
CVE-2025-14847
Zlib compressed protocol header length confusion may allow memory read
9.8
CVE-2026-19001
MongoDB BI Connector ODBC driver may write outside an allocated buffer when handling oversized catalog object names
9.8
CVE-2025-3085
A MongoDB server under specific conditions running on Linux with TLS and CRL revocation status checking enabled, fails to check the revocation status of the intermediate…
9.8
CVE-2024-8654
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour
