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 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.
CVSS

No CVSS.

Configurations

No configuration.

History

08 Apr 2026, 19:25

Type Values Removed Values Added
References () https://github.com/filebrowser/filebrowser/security/advisories/GHSA-jvpw-637p-h3pw - () https://github.com/filebrowser/filebrowser/security/advisories/GHSA-jvpw-637p-h3pw -

07 Apr 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-07 17:16

Updated : 2026-04-08 21:27


NVD link : CVE-2026-35585

Mitre link : CVE-2026-35585

CVE.ORG link : CVE-2026-35585


JSON object : View

Products Affected

No product.

CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')