CVE-2026-63358

FileGator privilege escalation

Published Jul 21, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

FileGator accepts arbitrary Unix permission values through the "/chmoditems" API endpoint and forwards them unchanged to PHP’s native chmod() function using octdec() conversion. Because the input is not validated, an authenticated user who already possesses chmod permission can supply any permission value. When chmod() is invoked with values that grant root access, the attacker’s privileges are escalated to the system root. This vulnerability is a classic example of improperly validated permission data, corresponding to CWE-732.

Affected Systems

FileGator is the affected product; specific version information was not provided in the data.

Risk and Exploitability

The CVSS score of 8.4 indicates a high severity vulnerability. The EPSS score of less than 1% suggests that exploitation is unlikely to occur broadly, and the vulnerability is not listed in CISA’s KEV catalog. The most probable attack path requires an authenticated session that has chmod capability, typically a user with file management privileges. An attacker must supply a crafted permission value via the API, which is then applied as root without further verification.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FileGator to a version that contains the fix referenced in the commit 4a44ed9a and subsequent releases
  • Restrict the /chmoditems endpoint to administrators or users with explicit root‑level authorization, ensuring only trusted users can invoke it
  • If a patch cannot be applied immediately, implement a temporary input validation that rejects permission values above the user’s current level or disable the chmod endpoint for non‑admin users
  • Enforce the principles of least privilege by reviewing and tightening the permission model so that chmod operations are only possible for users with explicit authority

Generated by OpenCVE AI on July 30, 2026 at 16:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Filegator
Filegator filegator
Vendors & Products Filegator
Filegator filegator
Type Values Removed Values Added
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.
Title FileGator privilege escalation
Weaknesses CWE-732
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'}

cvssV4_0

{'score': 8.4, 'vector': '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'}

Weaknesses
  • CWE-732

    Incorrect Permission Assignment for Critical Resource

Sources

Status
PUBLISHED
Assigner
cisa-cg
Published
Updated
Jul 30, 2026, 5:30 PM
Reserved
Jul 16, 2026, 2:46 PM
Status
Analyzed
Published
Jul 21, 2026, 9:16 PM
Modified
Aug 5, 2026, 7:44 PM