Description
FileGator accepts arbitrary Unix permission values via the '/chmoditems' API endpoint and passes the value directly to PHP's native 'chmod()' function through 'octdec()' conversion, with no validation. This allows an authenticated user with 'chmod' permission to upgrade their privileges to root.
Affected products
filegator: filegator
References5
- github.com/filegator/filegator/commit/4a44ed9a43f84505703dce669… Patch
- github.com/filegator/filegator/blob/master/CHANGELOG.md#7142---… Release Notes
- github.com/filegator/filegator/tree/master Product
- raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/wh… VDB Entry
- www.cve.org/CVERecord?id=CVE-2026-63358 VDB Entry
Metrics
- CVSS 3.1
-
7.3
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L - CVSS 4.0
-
8.4
HIGH
Score source: CNA
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/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 - EPSS — exploit probability
- 1% percentile: 44 · as of 14 November 2026
- CWE
- CWE-732
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.