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.
Published: 2026-07-21
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 30 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 23 Jul 2026 05:45:00 +0000

Type Values Removed Values Added
First Time appeared Filegator
Filegator filegator
Vendors & Products Filegator
Filegator filegator

Tue, 21 Jul 2026 20:45:00 +0000

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'}


Subscriptions

Filegator Filegator
cve-icon MITRE

Status: PUBLISHED

Assigner: cisa-cg

Published:

Updated: 2026-07-30T17:30:09.151Z

Reserved: 2026-07-16T14:46:57.734Z

Link: CVE-2026-63358

cve-icon Vulnrichment

Updated: 2026-07-30T17:30:05.508Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T16:45:04Z

Weaknesses
  • CWE-732

    Incorrect Permission Assignment for Critical Resource