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)

EPSS: 0.019 (77.8th percentile) — read the EPSS interpretation.

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.

Affected products

  • Filebrowser — versions >= 2.0.0-rc.1, < 2.33.8, >= 2.0.0-rc.1, <= 2.63.1

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-35585?
CVE-2026-35585 is a high-severity vulnerability in Filebrowser, classified under OS Command Injection. CVSS score: 7.2/10. Published 2026-04-07.
How severe is CVE-2026-35585?
High severity. CVSS v3 base score is 7.2 out of 10.
Is CVE-2026-35585 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.