PoC Monitor
← All CVEs
CVE-2026-35585published 7 Apr 2026 16:20 UTCData: JSON · API

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.

First public PoC 6.8 daysafter publication · 14 Apr 2026
Public PoCs11 on GitHub
CVSS7.5high · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

filebrowser filebrowser
  • >= 2.0.0-rc.1, < 2.33.8

Fixed in 2.33.8

Mitigation

Upgrade filebrowser to 2.33.8 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published7 Apr 2026 · t = 0First public PoC14 Apr 2026 · t+6.8d

First 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
RepositoryCreatedStarsAssessment
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 repo

POST /api/login

Body markers
"username" "password" in application/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.

POST /api/login
(?i)^/api/login(?:[?#].*)?$
POST /api/resources/{var}
(?i)^/api/resources/[^/?#]*(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /api/login
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;)
POST /api/resources/{var}
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.

POST /api/login
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
POST /api/resources/{var}
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