High severity · published Apr 7, 2026
CVE-2026-35585
File Browser has a Command Injection via Hook Runner
7.2
CVSS
1.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.9% · higher than 80% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FI
filebrowser · filebrowser
>= 2.0.0-rc.1, < 2.33.8 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-35585
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-35585
Patch
https://github.com/filebrowser/filebrowser/issues/5199
Exploit
https://github.com/filebrowser/filebrowser/security/advisories/GHSA-jvpw-637p-h3pw
More from filebrowser
9.8
CVE-2026-72839
filebrowser through 2.63.16 Privilege Escalation via Signup
9.8
CVE-2026-34528
File Browser's Signup Grants Execution Permissions When Default Permissions Includes Execution
9.8
CVE-2026-32760
File Browser Self Registration Grants Any User Admin Access When Default Permissions Include Admin
9.8
CVE-2025-53826
FileBrowser Has Insecure JWT Handling Which Allows Session Replay Attacks after Logout
9.3
CVE-2026-54088
File Browser: Command Injection via Authentication Hook Shell Substitution (Pre-Authentication RCE)
