CVE-2026-35585
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.
How to fix
- github.com/filebrowser/filebrowser/v22.33.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| filebrowser filebrowser | 2.0.0 ≤ v ≤ 2.63.1 | — |
| github.com/filebrowser/filebrowser/v2Go | v < 2.33.8 | 2.33.8 |
| github.com/filebrowser/filebrowserGo | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.