MongoDB: GridFS data disclosure and deletion via query-operator injection in file IDs
Impact
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.
Patches
Fixed in 1.21.5 and 2.4.2.
Workarounds
Validate GridFS IDs.
References
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Composer-Paket | mongodb/mongodb | >= 1.1.0, < 1.24.5, >= 2.0.0, < 2.4.2 | 1.24.5, 2.4.2 |
Verweise
- https://github.com/mongodb/mongo-php-library/security/advisories/GHSA-8fxw-fmj8-xp7j
- https://nvd.nist.gov/vuln/detail/CVE-2026-88023
- https://github.com/mongodb/mongo-php-library/pull/1981
- https://github.com/mongodb/mongo-php-library/commit/8c0b165069ab29d52a80a379a947ac9a55734601
- https://github.com/mongodb/mongo-php-library
- https://github.com/mongodb/mongo-php-library/releases/tag/1.21.5
- https://github.com/mongodb/mongo-php-library/releases/tag/2.4.2
- https://jira.mongodb.org/browse/PHPLIB-1929
- CVSS-Vektor
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N- Schwäche (CWE)
-- Plattform
- Composer
- Paket
mongodb/mongodb- Veröffentlicht
- 05.10.2026
- Aktualisiert
- 11.10.2026 10:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-8fxw-fmj8-xp7j - CC BY 4.0
Schwachstellenhistorie: mongodb/mongodb
Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 3
- Erste → letzte
- 08.2023 10.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 1
- Mittel 2
Veröffentlichungen pro Jahr
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 2
-
MongoDB: GridFS data disclosure and deletion via query-operator injection in file IDs dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.