Description
File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. From 2.0.0 until 2.33.8, the hook system in File Browser — which executes administrator-defined shell commands on file events such as upload, rename, and delete — is vulnerable to OS command injection. Variable substitution for values like $FILE and $USERNAME is performed via os.Expand without sanitization. An attacker with file write permission can craft a malicious filename containing shell metacharacters, causing the server to execute arbitrary OS commands when the hook fires. This results in Remote Code Execution (RCE). This feature has been disabled by default for all installations from v2.33.8 onwards, including for existent installations.
Published: 2026-04-07
Score: 7.5 High
EPSS: 1.9% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

File Browser is a file‑managing interface that allows uploading, deleting, previewing, renaming, and editing files within a specified directory. From version 2.0.0 through 2.33.8, its hook system – which runs administrator‑defined shell commands on file events such as upload, rename, and delete – is vulnerable to OS command injection. Variable placeholders like $FILE and $USERNAME are expanded via os.Expand without sanitization, so an attacker with permission to write to the monitored folder can craft a malicious filename containing shell metacharacters, causing the server to execute arbitrary OS commands and achieving remote code execution. The hook feature has been disabled by default in all installations from v2.33.8 onward, protecting newer deployments.

Affected Systems

The flaw affects File Browser versions 2.0.0 through 2.33.8. In all releases prior to 2.33.8 the hook feature is enabled by default, while from 2.33.8 onward it is disabled. Existing installations that have not updated or that have not disabled the hook remain vulnerable, whereas fresh deployments of v2.33.8 or newer are not susceptible unless the option is re‑enabled.

Risk and Exploitability

The CVSS score is 7.5, indicating high severity, and the vulnerability is not listed in the CISA KEV catalog. Although the EPSS score indicates a low probability of exploitation (2%), the possibility of exploitation requires the attacker to write a file to a monitored directory, which is a common capability in many deployments. Given that the hook can trigger full command execution, the risk is significant for any system that still allows the hook mechanism to run; an attacker who succeeds would gain control of the host.

Generated by OpenCVE AI on June 18, 2026 at 09:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade File Browser to a release equal to or newer than 2.33.8, where the hook feature is disabled by default.
  • If immediate upgrade is not possible, explicitly disable the hook functionality in the configuration file or through the admin interface.
  • Restrict file write permissions to only trusted administrators, preventing non‑privileged users from creating malicious filenames.
  • Monitor the target directory for unusual filename patterns that may indicate an attempt to trigger the hook.
  • Apply vendor advisories referenced in the GitHub issue tracker and security advisory for additional guidance.

Generated by OpenCVE AI on June 18, 2026 at 09:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jvpw-637p-h3pw File Browser has a Command Injection via Hook Runner
History

Tue, 09 Jun 2026 12:30:00 +0000

Type Values Removed Values Added
Description File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. From 2.0.0 through 2.63.1, the hook system in File Browser — which executes administrator-defined shell commands on file events such as upload, rename, and delete — is vulnerable to OS command injection. Variable substitution for values like $FILE and $USERNAME is performed via os.Expand without sanitization. An attacker with file write permission can craft a malicious filename containing shell metacharacters, causing the server to execute arbitrary OS commands when the hook fires. This results in Remote Code Execution (RCE). This feature has been disabled by default for all installations from v2.33.8 onwards, including for existent installations. File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. From 2.0.0 until 2.33.8, the hook system in File Browser — which executes administrator-defined shell commands on file events such as upload, rename, and delete — is vulnerable to OS command injection. Variable substitution for values like $FILE and $USERNAME is performed via os.Expand without sanitization. An attacker with file write permission can craft a malicious filename containing shell metacharacters, causing the server to execute arbitrary OS commands when the hook fires. This results in Remote Code Execution (RCE). This feature has been disabled by default for all installations from v2.33.8 onwards, including for existent installations.

Thu, 16 Apr 2026 18:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:filebrowser:filebrowser:*:*:*:*:*:*:*:*
Metrics cvssV3_1

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


Wed, 08 Apr 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Filebrowser
Filebrowser filebrowser
Vendors & Products Filebrowser
Filebrowser filebrowser
Metrics ssvc

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


Tue, 07 Apr 2026 18:00:00 +0000

Type Values Removed Values Added
Description File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. From 2.0.0 through 2.63.1, the hook system in File Browser — which executes administrator-defined shell commands on file events such as upload, rename, and delete — is vulnerable to OS command injection. Variable substitution for values like $FILE and $USERNAME is performed via os.Expand without sanitization. An attacker with file write permission can craft a malicious filename containing shell metacharacters, causing the server to execute arbitrary OS commands when the hook fires. This results in Remote Code Execution (RCE). This feature has been disabled by default for all installations from v2.33.8 onwards, including for existent installations.
Title File Browser has a Command Injection via Hook Runner
Weaknesses CWE-78
CWE-88
References
Metrics cvssV4_0

{'score': 7.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Filebrowser Filebrowser
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-09T11:49:46.912Z

Reserved: 2026-04-03T20:09:02.828Z

Link: CVE-2026-35585

cve-icon Vulnrichment

Updated: 2026-04-08T18:50:59.804Z

cve-icon NVD

Status : Modified

Published: 2026-04-07T17:16:33.980

Modified: 2026-06-17T10:40:49.183

Link: CVE-2026-35585

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T09:30:15Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')