Filebrowser
File Browser has a Command Injection via Hook Runner
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0-rc.1, < 2.33.8
Fixed in 2.33.8
Mitigation
Upgrade filebrowser to 2.33.8 or later.
References
- Vendor advisory github.com/filebrowser/filebrowser/security/ad…
Timeline
Days relative to CVE publicationFirst public PoC 6.8 days after publication; not in CISA KEV. First PoC: Saku0512/CVE-2026-35585-poc (created 14 Apr 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Saku0512/CVE-2026-35585-poc | 14 Apr 2026 +6.8 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /api/login
- Body markers
"username""password"inapplication/json- Ports
- 8080, 8090
- Seen in
- 1 repo: Saku0512/CVE-2026-35585-poc
- Evidence
- Saku0512/CVE-2026-35585-poc/exploit.py:35
POST /api/resources/{var}
- Body markers
poc_content- Ports
- 8080, 8090
- Seen in
- 1 repo: Saku0512/CVE-2026-35585-poc
- Evidence
- Saku0512/CVE-2026-35585-poc/exploit.py:63
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/login(?:[?#].*)?$
(?i)^/api/resources/[^/?#]*(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080,8090] (msg:"GG PoC-Monitor CVE-2026-35585 filebrowser filebrowser exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/login"; http.request_body; content:"|22|username|22|"; http.request_body; content:"|22|password|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-35585; classtype:web-application-attack; sid:9714514; rev:1;)
alert http any any -> $HOME_NET [8080,8090] (msg:"GG PoC-Monitor CVE-2026-35585 filebrowser filebrowser exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/resources/"; http.request_body; content:"poc_content"; reference:url,poc.griffinguard.io/cve/CVE-2026-35585; classtype:web-application-attack; sid:9626584; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: filebrowser filebrowser exploit attempt (CVE-2026-35585)
id: gg-pocmon-cve-2026-35585-9714514
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-35585. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-35585
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.35585
title: filebrowser filebrowser exploit attempt (CVE-2026-35585)
id: gg-pocmon-cve-2026-35585-9626584
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-35585. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-35585
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/resources/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.35585