CVE-2026-96745

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

  • Medium 6.3

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.

Key facts

Published
24 Sep 2026
Last changed
24 Sep 2026
Assigned by
mongodb
EPSS
0.326% likely to be exploited in the next 30 days, higher than 26.114% of CVEs (scores for 17 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 6.3CVSS 4.0, Mediumfrom the CNA (mongodb)CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
  • 5.6CVSS 3.1, Mediumfrom the CNA (mongodb)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
MongoDBPHP Driver
  • Default status: unaffected
  • 0 up to but excluding 1.21.10 (affected)
  • 2.0.0 up to but excluding 2.1.10 (affected)
  • 2.2.0 up to but excluding 2.5.3 (affected)

Timeline

  1. 24 Sep 2026 Published

Weakness

References