Skip to main content
← All vulnerabilities
CVE-2026-96745GHSA-CMVJ-VXVQ-RH2C

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.21.10, 2.1.10, 2.5.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MongoDB PHP Driver

    fixed in 1.21.10; From 2.0.0 · fixed in 2.1.10; From 2.2.0 · fixed in 2.5.3

References 5

GitHub · mongodb/mongo-php-driver