Vulnerability
CVE-2026-35585
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.
9 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-6p54-48hp-5cr7
- CGA-9rj7-gj67-frp9
- CGA-jh3f-7hvj-q23m
- CGA-w4fr-5vr7-32ff
- CGA-wgch-8fjp-r7rj
- CGA-x5gm-f72p-h6r4
-
GHSA-jvpw-637p-h3pw
File Browser has a Command Injection via Hook Runner
-
GO-2026-5481
File Browser has a Command Injection via Hook Runner in github.com/filebrowser/filebrowser
-
openSUSE-SU-2026:21483-1
Security update for govulncheck-vulndb