Vulnerability GHSA-8fxw-fmj8-xp7j

Medium Risk
MEDIUM RISK
CVSS Score: 6.0
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
7 hours ago
October 05, 2026 at 11:26 PM UTC
MongoDB: GridFS data disclosure and deletion via query-operator injection in file IDs
1.1.0 - 1.1.2 and 1.2.0 - 1.6.1 and 1.7.0 - 1.7.2 and 1.8.0 and 1.9.0 - 1.12.0 and 1.13.0 - 2.4.1
1.1.0 - 1.1.2 and 1.2.0 - 1.6.1 and 1.7.0 - 1.7.2 and 1.8.0 and 1.9.0 - 1.12.0 and 1.13.0 - 2.4.1

Summary

MongoDB: GridFS data disclosure and deletion via query-operator injection in file IDs

Details

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

https://jira.mongodb.org/browse/PHPLIB-1929

Impacted packages

Timeline

Published
7 hours ago
October 05, 2026 at 11:26 PM UTC
Fixed (2.4.2)
25 days ago
September 10, 2026 at 03:46 PM UTC
Last Modified
7 hours ago
October 05, 2026 at 11:45 PM UTC