CVE-2026-96745: PHP object injection via unsuppressible __pclass class inference in command monitoring events

Published Sep 24, 2026
·
Updated

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 Software

1 affected component
MongoDB PHP Driver

Event History

Sep 24, 2026
CVE Published
via MITRE·03:51 PM
Data Sourced
via MITRE·03:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to exploitation?

Applications using the MongoDB PHP Driver are exposed when they register a command monitoring subscriber and include attacker-controlled data in a database operation. Exploitation also requires an application class that implements the driver’s persistable interface.

2

What does an attacker need to do?

An unauthenticated attacker must control data included in a database operation. Class names embedded in that document content can then be honored while the driver constructs command monitoring event objects, causing a matching application class to be instantiated and its unserialization method invoked.

3

What determines the practical impact?

The impact depends on the persistable classes available in the application and what their unserialization methods do with supplied data. The stated potential effects include loss of confidentiality, integrity, and availability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203