SecurityContext

CVE-2026-63358: FileGator < 7.14.2 - Privilege Escalation

Classification

  • Cwe: CWE-732
  • Cvss score: 7.3
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
  • Epss score: 0.00509
  • Epss percentile: 0.44326
  • Cpe: cpe:2.3:a:filegator:filegator:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: title="FileGator"
  • Max-request: 2
  • Product: filegator
  • Shodan-query: http.title:"FileGator"
  • Vendor: filegator
  • Verified: yes

Products

ProductIndexedUrl
filegator:filegatoryes/v1/products/filegator/filegator

Labels

  • Name: FileGator - Privilege Escalation
  • Impact: Authenticated users with 'chmod' permission can escalate their privileges to root, compromising the entire system.
  • Remediation: Update to the latest version with proper validation of permission values or apply patches that validate input before calling chmod()
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated with 'chmod' permission
  • Labels source: projectdiscovery
  • From cve: CVE-2026-63358

```yaml

id: CVE-2026-63358

info:

name: FileGator < 7.14.2 - Privilege Escalation

author: moizxsec

severity: high

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.

impact: |

An authenticated user with the chmod permission can assign arbitrary Unix permissions (e.g. setuid or world-writable), leading to privilege escalation.

remediation: |

Upgrade to FileGator 7.14.2 or later.

reference:

- https://github.com/advisories/GHSA-9m9p-7p6h-xv99

- https://www.cve.org/CVERecord?id=CVE-2026-63358

- https://github.com/filegator/filegator/blob/master/CHANGELOG.md#7142---2026-05-18

- https://github.com/filegator/filegator/commit/4a44ed9a43f84505703dce669c68fb55270c3f2c

classification:

cvss-metrics: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

cvss-score: 7.3

cve-id: CVE-2026-63358

epss-score: 0.00509

epss-percentile: 0.44326

cwe-id: CWE-732

cpe: cpe:2.3:a:filegator:filegator:*:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 2

vendor: filegator

product: filegator

shodan-query: http.title:"FileGator"

fofa-query: title="FileGator"

tags: cve,cve2026,filegator,privesc

http:

- raw:

- |

GET /?r=/getconfig HTTP/1.1

Host: {{Hostname}}

- |

GET /index.php?r=/getconfig HTTP/1.1

Host: {{Hostname}}

stop-at-first-match: true

matchers:

- type: dsl

dsl:

- 'contains_all(body, "\"app_name\"", "FileGator", "\"app_version\"")'

- 'contains(content_type, "application/json")'

- 'compare_versions(version, "< 7.14.2")'

condition: and

extractors:

- type: regex

name: version

part: body

internal: true

group: 1

regex:

- '"app_version":\s*"([0-9.]+)"'

- type: regex

part: body

group: 1

regex:

- '"app_version":\s*"([0-9.]+)"'

digest: 4a0a00473045022100f5ad4ed496c16a73712c2095c963503e2fe3eb1c28adb189e607347633415c3d022075cae15f3e4b38df42a207f9ad87375c9da2895da70b6490d3f67b8579de7de4:922c64590222798bb761d5b6d8e72950

```