Quick answers
- Is CVE-2026-35585 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-35585 being exploited in the wild.
- How severe is CVE-2026-35585?
- High severity, with a CVSS score of 7.2, published 7 April 2026.
- Which products and versions are affected?
- File Browser < 2.33.8, 2.0.0 to 2.33.7; github.com/filebrowser/filebrowser (Go) SEMVER:introduced=0; github.com/filebrowser/filebrowser/v2 (Go) < 2.33.8, SEMVER:introduced=0,fixed=2.33.8.
- Is there a fix for CVE-2026-35585?
- Yes. github.com/filebrowser/filebrowser/v2 (Go): upgrade to 2.33.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-35585 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-35585?
- Check whether you run File Browser, Filebrowser, github.com/filebrowser/filebrowser (Go) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- github.com/filebrowser/filebrowser/v2 (Go): upgrade to 2.33.8 or later
go get github.com/filebrowser/filebrowser/v2@v2.33.8
Technical details
The vulnerability exists in the hook system of File Browser (versions 2.0.0 through 2.33.7), specifically within the `Runner.exec` function in `runner/runner.go`. The application uses `os.Expand` to perform variable substitution for template strings like `$FILE` and `$USERNAME` without proper sanitization or escaping. An authenticated attacker with file write, upload, or rename permissions can craft a filename containing shell metacharacters (e.g., `; id #`). When a hook event (such as `after_upload`) triggers, the unsanitized filename is injected into a shell command string, leading to arbitrary Remote Code Execution (RCE). Starting with version 2.33.8, the command execution feature is disabled by default to mitigate this risk.
Affected products
- File Browser File Browser 2.0.0 to 2.33.7
Identifiers
- CVE-2026-35585
- GHSA-jvpw-637p-h3pw
- GO-2026-5481
Timeline
- 2025-06-25: other: Issue opened regarding faulty command execution features
- 2026-04-04: advisory: GitHub Security Advisory published
- 2026-04-07: disclosed: CVE published to NVD