CVE-2026-35585
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/filebrowser/filebrowser/v2Go | < 2.33.8 | 2.33.8 |
Affected products
6- osv-coords5 versionspkg:apk/chainguard/filebrowserpkg:apk/chainguard/filebrowser-compatpkg:apk/wolfi/filebrowserpkg:apk/wolfi/filebrowser-compatpkg:golang/github.com/filebrowser/filebrowser/v2
< 2.63.2-r0+ 4 more
- (no CPE)range: < 2.63.2-r0
- (no CPE)range: < 2.63.2-r0
- (no CPE)range: < 2.63.2-r0
- (no CPE)range: < 2.63.2-r0
- (no CPE)range: >= 2.0.0-rc.1, <= 2.63.1
Patches
Vulnerability mechanics
References
4- github.com/filebrowser/filebrowser/issues/5199nvdPatchWEB
- github.com/filebrowser/filebrowser/security/advisories/GHSA-jvpw-637p-h3pwnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-jvpw-637p-h3pwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-35585ghsaADVISORY
News mentions
0No linked articles in our index yet.