GHSA-x6mc-fgjf-77r7

Suggest an improvement
Source
https://github.com/advisories/GHSA-x6mc-fgjf-77r7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-x6mc-fgjf-77r7/GHSA-x6mc-fgjf-77r7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x6mc-fgjf-77r7
Withdrawn
2026-10-05T23:26:48Z
Published
2026-09-10T18:31:48Z
Modified
2026-10-05T23:45:07Z
Severity
  • 8.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H CVSS Calculator
  • 6.1 (Medium) CVSS_V4 - 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: GridFS data disclosure and deletion via query-operator injection in file IDs
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-8fxw-fmj8-xp7j. This link is maintained to preserve external references.

Original Description

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.

Database specific
{
    "cwe_ids": [
        "CWE-943"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-05T23:26:48Z",
    "nvd_published_at": "2026-09-10T18:18:12Z",
    "severity": "MODERATE"
}
References

Affected packages

Packagist / mongodb/mongodb

Package

Name
mongodb/mongodb
Purl
pkg:composer/mongodb/mongodb

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.1.0

Affected versions

1.*
1.1.0
1.1.1
1.1.2
1.2.0-alpha1
1.2.0
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-beta1
1.7.0-beta2
1.7.0-rc1
1.7.0
1.7.1
1.7.2
1.8.0-RC1
1.8.0
1.9.0-alpha1
1.9.0
1.10.0
1.10.1
1.11.0
1.12.0
1.13.0-beta1
1.13.0
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.20.0
1.21.0
1.21.1
1.21.2
1.21.3
1.21.4
1.21.5
2.*
2.0.0
2.1.0
2.1.1
2.1.2
2.2.0
2.3.0
2.4.0
2.4.1
2.4.2
2.5.0

Database specific

last_known_affected_version_range
"< 1.21.5"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-x6mc-fgjf-77r7/GHSA-x6mc-fgjf-77r7.json"