CVE-2026-96745
published medium CVSS 4.0 · 6.3PHP object injection via unsuppressible __pclass class inference in command monitoring events
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | PHP Driver0 to < 1.21.10 · 2.0.0 to < 2.1.10 · 2.2.0 to < 2.5.3 · Other versions: unaffected | Affected | Not stated | mongodb |
| Debian | trixie | php-mongodb | Advisory build | 2.0.0-1+deb13u1 | DSA-6539-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.6 | medium | mongodb · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | PHP Driver | 0 to < 1.21.10 (affected · semver)2.0.0 to < 2.1.10 (affected · semver)2.2.0 to < 2.5.3 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-502 CWE-502: Deserialization of Untrusted Data
References
5- https://github.com/mongodb/mongo-php-driver/pull/2115
- https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.10
- https://github.com/mongodb/mongo-php-driver/releases/tag/2.1.10
- https://github.com/mongodb/mongo-php-driver/releases/tag/2.5.3
- https://github.com/mongodb/mongo-php-driver/security/advisories/GHSA-cmvj-vxvq-rh2c
Provider assertions
2mongodb · cna
PHP object injection via unsuppressible __pclass class inference in command monitoring events
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8bb7dc7fadb3d90d2e4b12afe5697a750f52c54d0a4f3eb84cd567df012e1b71
- Ingested
- 30 Sep 2026, 15:35:53 UTC
- Source record
- Official CVE record