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

> CVE-2026-96745: PHP object injection via unsuppressible __pclass class inference in command monitoring events. CVSS 5.6 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-96745
Last updated: 2026-09-24T21:04:40Z

- Published: 2026-09-24 15:51 UTC · Updated: 2026-09-24 21:04 UTC · Assigner: mongodb
- CVSS: 5.6 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- EPSS: 0.33%, 25th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-502

## 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.

## Affected vendors and products

- MongoDB: PHP Driver

## Tracked companies

- [MongoDB Atlas](https://rewindex.com/company/mongodb-atlas.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-96745)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-96745)
- [https://github.com/mongodb/mongo-php-driver/pull/2115](https://github.com/mongodb/mongo-php-driver/pull/2115)
- [https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.10](https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.10)
- [https://github.com/mongodb/mongo-php-driver/releases/tag/2.1.10](https://github.com/mongodb/mongo-php-driver/releases/tag/2.1.10)
- [https://github.com/mongodb/mongo-php-driver/releases/tag/2.5.3](https://github.com/mongodb/mongo-php-driver/releases/tag/2.5.3)
- [https://github.com/mongodb/mongo-php-driver/security/advisories/GHSA-cmvj-vxvq-rh2c](https://github.com/mongodb/mongo-php-driver/security/advisories/GHSA-cmvj-vxvq-rh2c)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-96745 · Markdown: https://rewindex.com/cve/CVE-2026-96745.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-96745 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T04:04:32.337Z
