CVE-2026-96745: CWE-502: Deserialization of Untrusted Data in MongoDB PHP Driver
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.
AI Analysis
Technical Summary
This vulnerability arises from the MongoDB PHP Driver honoring class names embedded in document content during command monitoring event object construction. When an application registers a command monitoring subscriber and processes untrusted data, an attacker can trigger deserialization of arbitrary classes implementing the persistable interface. This can lead to unexpected code execution paths depending on the application’s class implementations. The affected versions are >=0 <1.21.10, >=2.0.0 <2.1.10, and >=2.2.0 <2.5.3. No known exploits are reported in the wild, and no official patch links are provided in the input data.
Potential Impact
An unauthenticated attacker able to supply untrusted data in a database operation can cause the MongoDB PHP Driver to instantiate application classes and invoke their unserialization methods. This can lead to potential code execution or other impacts depending on the application’s classes that implement the persistable interface. The vulnerability is rated medium severity with a CVSS 4.0 score of 6.3, reflecting network attack vector but requiring high attack complexity and no privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid registering command monitoring subscribers that process untrusted data or sanitize inputs to prevent untrusted data from reaching the driver’s command monitoring feature. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-96745: CWE-502: Deserialization of Untrusted Data in MongoDB PHP Driver
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.
CVSS v4.0
Score 6.3medium
Affected software
MongoDB
PHP Driver
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability arises from the MongoDB PHP Driver honoring class names embedded in document content during command monitoring event object construction. When an application registers a command monitoring subscriber and processes untrusted data, an attacker can trigger deserialization of arbitrary classes implementing the persistable interface. This can lead to unexpected code execution paths depending on the application’s class implementations. The affected versions are >=0 <1.21.10, >=2.0.0 <2.1.10, and >=2.2.0 <2.5.3. No known exploits are reported in the wild, and no official patch links are provided in the input data.
Potential Impact
An unauthenticated attacker able to supply untrusted data in a database operation can cause the MongoDB PHP Driver to instantiate application classes and invoke their unserialization methods. This can lead to potential code execution or other impacts depending on the application’s classes that implement the persistable interface. The vulnerability is rated medium severity with a CVSS 4.0 score of 6.3, reflecting network attack vector but requiring high attack complexity and no privileges or user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid registering command monitoring subscribers that process untrusted data or sanitize inputs to prevent untrusted data from reaching the driver’s command monitoring feature. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-09-23T15:45:49.109Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ab549d5f7a7c54106846f1e
Added to database: 09/24/2026, 16:03:33 UTC
Last enriched: 09/24/2026, 16:18:35 UTC
Last updated: 09/25/2026, 02:31:13 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.