p PatchFirst

CVE-2026-88023

CVE-2026-88023 · GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB PHP Library

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

Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB PHP Library can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable. The affected rename operation may also rename a stored file other than the intended target.

CVSS 6.1 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: php

Affected products and versions

  • mongodb php library

    Versions
    • ≥ 1.1.0, ≤ 1.21.4: Affected (semver)
    • ≥ 2.0.0, ≤ 2.4.1: Affected (semver)

    No fix published

  • mongodb/mongodb Packagist

    Versions
    • 1.1.0
    • 1.1.1
    • 1.1.2
    • 1.10.0
    • 1.10.1
    • 1.11.0
    • 1.12.0
    • 1.13.0
    • 1.13.0-beta1
    • 1.13.1
    • 1.15.0
    • 1.16.0
    • 1.16.1
    • 1.17.0
    • 1.17.1
    • 1.18.0
    • 1.19.0
    • 1.19.1
    • 1.2.0
    • 1.2.0-alpha1
    • 1.20.0
    • 1.21.0
    • 1.21.1
    • 1.21.2
    • 1.21.3
    • 1.21.4
    • 1.21.5
    • 1.3.0
    • 1.3.1
    • 1.3.2
    • 1.4.0
    • 1.4.1
    • 1.4.2
    • 1.4.3
    • 1.5.0
    • 1.5.1
    • 1.5.2
    • 1.6.0
    • 1.6.1
    • 1.7.0
    • 1.7.0-beta1
    • 1.7.0-beta2
    • 1.7.0-rc1
    • 1.7.1
    • 1.7.2
    • 1.8.0
    • 1.8.0-RC1
    • 1.9.0
    • 1.9.0-alpha1
    Affected ranges
    • ECOSYSTEM: ≥ 1.1.0, < 1.24.5

    Update to 1.24.5

  • mongodb/mongodb Packagist

    Versions
    • 2.0.0
    • 2.1.0
    • 2.1.1
    • 2.1.2
    • 2.2.0
    • 2.3.0
    • 2.4.0
    • 2.4.1
    Affected ranges
    • ECOSYSTEM: ≥ 2.0.0, < 2.4.2

    Update to 2.4.2

Original sources

Check your server →