Every CVE Search/ Get API key

CVE-2026-96745

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

6.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

0.33%Unchanged since Sep 25, 2026
90%50%10%1%

What each source reports

CVE List Score used 6.3

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

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.

Record
CVE-2026-96745
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-502
Updated
2026-11-02
EUVDEUVD-2026-86264 6.3

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.

Record
EUVD-2026-86264
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Updated
2026-11-02
NVD 6.3

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.

Record
CVE-2026-96745
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness
CWE-502
Updated
2026-11-02
OSV 6.3

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

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.

Record
CVE-2026-96745
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Weakness
CWE-502
Updated
2026-11-02
OSVDEBIAN-CVE-2026-96745 6.3

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.

Record
DEBIAN-CVE-2026-96745
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-02
OSVUBUNTU-CVE-2026-96745 6.3

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.

Record
UBUNTU-CVE-2026-96745
CVSS 4.0
6.3 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
CVSS 3.1
5.6 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
php-mongodb
Debian:12
All versions, plus listed versions
1.15.0+1.11.1+1.9.2+1.7.5-11.19.3-11.19.4-21.19.4-3~exp21.19.4-3~exp3
Show 7 moreShow less
1.19.4-3~exp41.20.0-11.20.1-11.21.0-12.0.0-12.1.0-12.5.3-1
None known
php-mongodb
Debian:13
before 2.0.0-1+deb13u1, plus listed versions
2.0.0-1
2.0.0-1+deb13u1
php-mongodb
Debian:14
before 2.5.3-1, plus listed versions
2.0.0-12.1.0-1
2.5.3-1
pymongo
Ubuntu:14.04:LTS
All versions, plus listed versions
2.6-12.6.2-12.6.3-12.6.3-1build1
None known
pymongo
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
3.0.3-13.2-13.2-1build13.2-1ubuntu0.1~esm1
None known
pymongo
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
3.4.0-1build23.6.1+dfsg1-13.6.1+dfsg1-1ubuntu0.1~esm1
None known
pymongo
Ubuntu:20.04:LTS
All versions, plus listed versions
3.7.1-1.13.7.1-1.1build13.10.1-0ubuntu23.10.1-0ubuntu2.1
None known
pymongo
Ubuntu:22.04:LTS
All versions, plus listed versions
3.11.0-1build23.11.0-1build33.11.0-1build43.11.0-1ubuntu0.22.04.1
None known
pymongo
Ubuntu:24.04:LTS
All versions, plus listed versions
3.11.0-1build63.11.0-1build73.11.0-1build83.11.0-1ubuntu0.24.04.1
None known
pymongo
Ubuntu:26.10
All versions, plus listed versions
4.16.0-1build14.17.0-1
None known
pymongo
Ubuntu:26.04:LTS
All versions, plus listed versions
4.10.1-64.15.3-14.15.3-24.15.5-14.16.0-14.16.0-1build1
None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-96745 is a medium vulnerability (CVSS 6.3) in Mongodb Php Driver, published September 24, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.33%, the 25th percentile. Fixed in php-mongodb 2.0.0-1+deb13u1.

References

Show 4 moreShow less
MoveEnter Open