CVEvulnerability
CVE-2026-35585
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-04-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 7.5 HIGH — CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 7.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78, CWE-88
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.
Affected configurations
• filebrowser filebrowser (>= 2.0.0 <= 2.63.1)
Related
References
- https://github.com/filebrowser/filebrowser/issues/5199 Patch
- https://github.com/filebrowser/filebrowser/security/advisories/GHSA-jvpw-637p-h3pw Exploit, Vendor Advisory
- https://github.com/filebrowser/filebrowser/security/advisories/GHSA-jvpw-637p-h3pw Exploit, Vendor Advisory