p PatchFirst

CVE-2026-96745

CVE-2026-96745 · PHP object injection via unsuppressible __pclass class inference in command monitoring events

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 6.3 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • php driver

    Versions
    • ≥ 0, < 1.21.10: Affected (semver)
    • ≥ 2.0.0, < 2.1.10: Affected (semver)
    • ≥ 2.2.0, < 2.5.3: Affected (semver)

    Update to 1.21.10; Update to 2.1.10; Update to 2.5.3

  • php-mongodb Debian:12

    Versions
    • 1.15.0+1.11.1+1.9.2+1.7.5-1
    • 1.19.3-1
    • 1.19.4-2
    • 1.19.4-3~exp2
    • 1.19.4-3~exp3
    • 1.19.4-3~exp4
    • 1.20.0-1
    • 1.20.1-1
    • 1.21.0-1
    • 2.0.0-1
    • 2.1.0-1
    • 2.5.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • php-mongodb Debian:13

    Versions
    • 2.0.0-1
    Affected ranges
    • ECOSYSTEM: < 2.0.0-1+deb13u1

    Update to 2.0.0-1+deb13u1

  • php-mongodb Debian:14

    Versions
    • 2.0.0-1
    • 2.1.0-1
    Affected ranges
    • ECOSYSTEM: < 2.5.3-1

    Update to 2.5.3-1

  • pymongo Ubuntu:14.04:LTS

    Versions
    • 2.6-1
    • 2.6.2-1
    • 2.6.3-1
    • 2.6.3-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:Pro:16.04:LTS

    Versions
    • 3.0.3-1
    • 3.2-1
    • 3.2-1build1
    • 3.2-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:Pro:18.04:LTS

    Versions
    • 3.4.0-1build2
    • 3.6.1+dfsg1-1
    • 3.6.1+dfsg1-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:20.04:LTS

    Versions
    • 3.7.1-1.1
    • 3.7.1-1.1build1
    • 3.10.1-0ubuntu2
    • 3.10.1-0ubuntu2.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:22.04:LTS

    Versions
    • 3.11.0-1build2
    • 3.11.0-1build3
    • 3.11.0-1build4
    • 3.11.0-1ubuntu0.22.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:24.04:LTS

    Versions
    • 3.11.0-1build6
    • 3.11.0-1build7
    • 3.11.0-1build8
    • 3.11.0-1ubuntu0.24.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:26.10

    Versions
    • 4.16.0-1build1
    • 4.17.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pymongo Ubuntu:26.04:LTS

    Versions
    • 4.10.1-6
    • 4.15.3-1
    • 4.15.3-2
    • 4.15.5-1
    • 4.16.0-1
    • 4.16.0-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →