CVE-2026-96745
Published on September 24, 2026
PHP object injection via unsuppressible __pclass class inference in command monitoring events
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.
Vulnerability Analysis
CVE-2026-96745 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.
Weakness Type
What is a Marshaling, Unmarshaling Vulnerability?
The application deserializes untrusted data without sufficiently verifying that the resulting data will be valid.
CVE-2026-96745 has been classified to as a Marshaling, Unmarshaling vulnerability or weakness.
Affected Versions
MongoDB PHP Driver:- Before 1.21.10 is affected.
- Version 2.0.0 and below 2.1.10 is affected.
- Version 2.2.0 and below 2.5.3 is affected.