CVE-2026-35585

HIGH LAB

File Browser has a Command Injection via Hook Runner

Title source: cna

Description

File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. From 2.0.0 through 2.63.1, 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.

Exploits (1)

nomisec WORKING POC
by Saku0512 · poc
https://github.com/Saku0512/CVE-2026-35585-poc

Scores

CVSS v3 7.2
EPSS 0.0036
EPSS Percentile 58.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Lab Environment

COMMUNITY
Community Lab
docker pull filebrowser/filebrowser:v2.33.1

Details

CWE
CWE-78 CWE-88
Status published
Products (3)
filebrowser/filebrowser 2.0.0 - 2.63.1
filebrowser/filebrowser 2.0.0-rc.1Go
filebrowser/filebrowser >= 2.0.0-rc.1, <= 2.63.1
Published Apr 07, 2026
Tracked Since Apr 07, 2026