---
id: CVE-2026-96745
title: >-
  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
summary: >-
  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…
severity: medium
cvss: 5.6
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-502
vendor: MongoDB
product: PHP Driver
affected:
  - php_driver < 1.21.10
  - php_driver >= 2.0.0 < 2.1.10
  - php_driver >= 2.2.0 < 2.5.3
published: '2026-09-24'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:04:40.340'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-96745'
references:
  - url: 'https://github.com/mongodb/mongo-php-driver/pull/2115'
    label: cna@mongodb.com
  - url: 'https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.10'
    label: cna@mongodb.com
  - url: 'https://github.com/mongodb/mongo-php-driver/releases/tag/2.1.10'
    label: cna@mongodb.com
  - url: 'https://github.com/mongodb/mongo-php-driver/releases/tag/2.5.3'
    label: cna@mongodb.com
  - url: >-
      https://github.com/mongodb/mongo-php-driver/security/advisories/GHSA-cmvj-vxvq-rh2c
    label: cna@mongodb.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-24T17:21:29.694907Z'
ingestedAt: '2026-09-24T16:47:15.844Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
