Skip to main content
← All vulnerabilities
CVE-2026-35585GHSA-JVPW-637P-H3PWGO-2026-5481

File Browser has a Command Injection via Hook Runner

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.33.8
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • filebrowser filebrowser

    From 2.0.0-rc.1 · fixed in 2.33.8

  • github.com/filebrowser/filebrowser/v2Go

    fixed in 2.33.8

  • github.com/filebrowser/filebrowserGo

    All versions

References 3

GitHub · filebrowser/filebrowser

GitHub · Saku0512/CVE-2026-35585-poc