CVE-2026-96745
JSON

6.3medium

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

Severity
6.3medium CVSS:4.0 by mongodb
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb

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

Product or packageVersionsReported by
MongoDB PHP Driverbefore 1.21.10, from 2.0.0 before 2.1.10, from 2.2.0 before 2.5.3CVE List

All scores

mongodb6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
mongodb5.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-96745 changed 2026-09-24CVE Terms of Use
NVDCVE-2026-96745 changed 2026-09-24Public domain