OS Command Injection Affecting filebrowser package, versions <2.63.2-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.38% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-FILEBROWSER-16033316
  • published14 Apr 2026
  • disclosed7 Apr 2026

Introduced: 7 Apr 2026

CVE-2026-35585  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Wolfi filebrowser to version 2.63.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream filebrowser package and not the filebrowser package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1