Skip to main content

CVE-2026-96745: CWE-502: Deserialization of Untrusted Data in MongoDB PHP Driver

0
Medium
VulnerabilityCVE-2026-96745cvecve-2026-96745cwe-502
Published: 09/24/2026 (09/24/2026, 15:51:16 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB
Product: 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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Affected software

MongoDB

PHP Driver

Affected versions
>=0 <1.21.10>=2.0.0 <2.1.10>=2.2.0 <2.5.3

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/24/2026, 16:18:35 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses