Bug 2540324 (CVE-2026-96745)

Summary: CVE-2026-96745 php-pecl-mongodb: php-pecl-mongodb: Object injection via untrusted deserialization in command monitoring
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in php-pecl-mongodb. In applications utilizing command monitoring, the driver deserializes class names embedded within document content when creating monitoring event objects. An unauthenticated remote attacker can exploit this flaw by providing crafted input during database operations, causing the application to instantiate arbitrary classes and trigger their deserialization methods. Depending on the classes present in the application, this may result in arbitrary code execution or denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2540664, 2540665, 2540666    
Bug Blocks:    

Description OSIDB Bzimport 2026-09-24 16:20:51 UTC
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.