RCE in Filebrowser
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.020, 81.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Filebrowser — versions >= 2.0.0-rc.1, < 2.33.8, >= 2.0.0-rc.1, <= 2.63.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Saku0512/CVE-2026-35585-poc (last pushed 2026-06-27)
References
- https://github.com/filebrowser/filebrowser/security/advisories/GHSA-jvpw-637p-h3pw (Exploit, Vendor Advisory)
- https://github.com/filebrowser/filebrowser/issues/5199 (Patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.