Skip to content

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

MediumCVSS 6.3 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPUbuntuDebian

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.

Upgrade path

8 packages: 3 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
debian/php-mongodb(Debian 12) = 1.15.0+1.11.1+1.9.2+1.7.5-1; = 1.19.3-1; = 1.19.4-2; = 1.19.4-3~exp2 +9 more No fix listed No fix yet
ubuntu/pymongo(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/pymongo(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/pymongo(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/pymongo(Ubuntu 26.10) All versions No fix listed No fix yet
debian/php-mongodb(Debian 13) < 2.0.0-1+deb13u1; = 2.0.0-1 2.0.0-1+deb13u1 Fixed
debian/php-mongodb(Debian 14) < 2.5.3-1; = 2.0.0-1; = 2.1.0-1 2.5.3-1 Fixed
MongoDB PHP Driver < 1.21.10; >= 2.0.0, < 2.1.10; >= 2.2.0, < 2.5.3 1.21.10, 2.1.10, 2.5.3 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB PHP Driver < 1.21.10 1.21.10
MongoDB PHP Driver >= 2.0.0, < 2.1.10 2.1.10
MongoDB PHP Driver >= 2.2.0, < 2.5.3 2.5.3
debian/php-mongodb(Debian:12) All versions No fix listed
debian/php-mongodb(Debian:12) = 1.15.0+1.11.1+1.9.2+1.7.5-1 No fix listed
debian/php-mongodb(Debian:12) = 1.19.3-1 No fix listed
debian/php-mongodb(Debian:12) = 1.19.4-2 No fix listed
debian/php-mongodb(Debian:12) = 1.19.4-3~exp2 No fix listed
debian/php-mongodb(Debian:12) = 1.19.4-3~exp3 No fix listed
debian/php-mongodb(Debian:12) = 1.19.4-3~exp4 No fix listed
debian/php-mongodb(Debian:12) = 1.20.0-1 No fix listed
debian/php-mongodb(Debian:12) = 1.20.1-1 No fix listed
debian/php-mongodb(Debian:12) = 1.21.0-1 No fix listed
debian/php-mongodb(Debian:12) = 2.0.0-1 No fix listed
debian/php-mongodb(Debian:12) = 2.1.0-1 No fix listed
debian/php-mongodb(Debian:12) = 2.5.3-1 No fix listed
debian/php-mongodb(Debian:13) < 2.0.0-1+deb13u1 2.0.0-1+deb13u1
debian/php-mongodb(Debian:13) = 2.0.0-1 No fix listed
debian/php-mongodb(Debian:14) < 2.5.3-1 2.5.3-1
debian/php-mongodb(Debian:14) = 2.0.0-1 No fix listed
debian/php-mongodb(Debian:14) = 2.1.0-1 No fix listed
ubuntu/pymongo(Ubuntu:22.04) All versions No fix listed
ubuntu/pymongo(Ubuntu:24.04) All versions No fix listed
ubuntu/pymongo(Ubuntu:26.04) All versions No fix listed
ubuntu/pymongo(Ubuntu:26.10) All versions No fix listed

References