CVE-2026-35585

High

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductFilebrowser
PublishedApr 7, 2026
First seenApr 7, 2026

How to fix

Update
  • github.com/filebrowser/filebrowser/v22.33.8 or later

Affected products

ProductAffected versionsFixed in
filebrowser filebrowser2.0.0 ≤ v ≤ 2.63.1—
github.com/filebrowser/filebrowser/v2Gov < 2.33.82.33.8
github.com/filebrowser/filebrowserGoNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.