Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with 'chmod'-permitted account
-
DeliveryCall /chmoditems with crafted octal mode
-
Exploitoctdec()/chmod() applies unvalidated permissions
-
ExecutionSet setuid or world-writable bits on target file
-
ImpactEscalate to root on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Permission assignment review
|
| Exploitation Conditions | Requires an authenticated FileGator account that holds the 'chmod' permission (PR:L) - this is the exact gating prerequisite; users without that permission cannot invoke '/chmoditems'. No user interaction is needed (UI:N) and complexity is low (AC:L). Exploitation is further limited by what files the FileGator process can write to: escalation to root depends on the web process owning or having write access to files whose mode change yields privilege (e.g. setuid binaries), so a properly de-privileged deployment narrows the impact. The vendor marks the vector local (AV:L) despite the endpoint being an HTTP API - verify reachability of '/chmoditems' from the network in your deployment. |
| Impact | The vendor CVSS 4.0 vector rates this 8.4 (High) with AV:L/AC:L/AT:N/PR:L/UI:N and high confidentiality/integrity impact, low availability impact. A notable conflict exists: the flaw is triggered through the '/chmoditems' HTTP API, which is normally network-reachable, yet the vendor scored it AV:L (local) - likely reflecting that the real impact is host-level privilege escalation rather than the transport. Defenders should treat the attack surface as network-facing HTTP but the outcome as local root escalation. PR:L is correct - an account with the 'chmod' permission is required, so this is not unauthenticated. There is no KEV listing, no supplied EPSS score, and no evidence of a public PoC, so this is a real but not actively-exploited priority: dangerous where FileGator is exposed to semi-trusted users, lower urgency where only trusted admins have accounts. |
| Exploit ScenarioDerived | An attacker logs into FileGator with a low-privileged account that has been granted the 'chmod' permission, then calls the '/chmoditems' API with a crafted octal mode (e.g. setuid bits) against a file the web process can modify. By making a suitable binary setuid-root or a sensitive file world-writable, the attacker escalates from a limited application user to full root control of the host. No public exploit code has been identified, but the flaw is trivially reachable given the required permission. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 21, 2026
Privilege escalation in FileGator (the open-source self-hosted PHP web file manager) lets an authenticated user who holds the 'chmod' permission set arbitrary Unix file modes via the '/chmoditems' API endpoint, ultimately elevating to root. The endpoint forwards attacker-supplied values straight to PHP's chmod() through octdec() with no validation or allow-listing, so a low-privileged operator can make sensitive binaries or files setuid/world-writable and gain full control of the host. No public exploit identified at time of analysis, and the issue is not in CISA KEV; EPSS was not provided.
Earlier versions of this analysis (1)
Privilege escalation in FileGator (versions prior to the 7.14.2 fix released 2026-05-18) lets an authenticated user holding the 'chmod' permission set arbitrary Unix mode bits - including setuid/setgid - on files via the '/chmoditems' API endpoint, ultimately gaining root-level control of the host. The endpoint passes attacker-supplied permission strings straight into PHP's native chmod() after octdec() conversion with no allow-list or sanity checking. No public exploit or CISA KEV listing exists at time of analysis, though a vendor patch is available.
RemediationAI
Upgrade to the patched FileGator release referenced in the vendor changelog - version 7.14.2 (2026-05-18) - and apply commit 4a44ed9a43f84505703dce669c68fb55270c3f2c (https://github.com/filegator/filegator/commit/4a44ed9a43f84505703dce669c68fb55270c3f2c). Until patched, revoke the 'chmod' permission from all non-administrative roles so ordinary users cannot reach the vulnerable code path (trade-off: users lose the ability to change file modes through the UI), and restrict network access to the FileGator interface to trusted administrators only via authentication proxy or IP allow-listing. As additional hardening, run the FileGator PHP process under a dedicated low-privilege, unprivileged account with no ownership of setuid-capable or system files so a successful chmod cannot escalate to root (trade-off: requires filesystem ownership review and may break existing workflows). Consult the CISA CSAF advisory va-26-202-03 for vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FileGator is a standalone PHP application (single affected CPE cpe:2.3:a:filegator:filegator) that manages files on the server's local filesystem on behalf of authenticated users. The '/chmoditems' action is intended to let permitted users change file modes, but it converts the client-supplied string with octdec() and hands the raw integer to PHP's native chmod() without bounding it to a safe set. This is a textbook CWE-732 (Incorrect Permission Assignment for a Critical Resource): because the application process can chmod files it owns or has write access to, an attacker can grant setuid/setgid or world-writable bits and pivot to root-level control of files the web stack touches.
Know when Filegator gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Reachable via authenticated HTTP API (AV:N/PR:L); unvalidated chmod escapes the app into OS-level root control, so scope changes (S:C) with full C/I/A impact.
Primary rating from Vendor (cisa-cg).
CVSS VectorVendor: cisa-cg
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
FileGator, a self-hosted file management system, contains a privilege escalation vulnerability (CVE-2026-63358, CVSS 8.4) that allows authenticated users with chmod permissions to escalate to root access and compromise the entire host. If exploited, this vulnerability grants attackers complete control over all data and systems managed by FileGator. Organizations currently running FileGator should prioritize immediate patching to prevent unauthorized access and data compromise.
Apply vendor patch. Pending deployment, immediately restrict chmod permission assignments to essential administrators only and implement audit logging for all file permission modification requests.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Path Traversal in GitHub repository filegator/filegator prior to 7.8.0. Rated high severity (CVSS 8.1), this vulnerabili
FileGator 7.14.4 and earlier lets an authenticated low-privileged user holding the upload permission read, append to, or
Cross-user file disclosure in FileGator before 7.15.0 allows an authenticated user to download another user's pending ba
Session Fixation in GitHub repository filegator/filegator prior to 7.8.0. Rated medium severity (CVSS 5.4), this vulnera
EUVD-2026-46401
GHSA-9m9p-7p6h-xv99
NVD
CVE.org
EPSS
VulDB
Exploit-DB