CVE-2026-96745

published 24 Sep 2026 · updated 24 Sep 2026

PHP object injection via unsuppressible __pclass class inference in command monitoring events

5.6MediumCVSS 5.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in PHP Driver 1.21.10, PHP Driver 2.1.10 and PHP Driver 2.5.3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBPHP Driver<1.21.10, >=2.0.0 <2.1.10, >=2.2.0 <2.5.31.21.10, 2.1.10, 2.5.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-96745 severity on Zeptric[![CVE-2026-96745](https://zeptric.io/badge/cve/CVE-2026-96745.svg)](https://zeptric.io/cve/CVE-2026-96745)