{"cve":"CVE-2026-35585","nvd":{"published":"2026-04-07T17:16:33.980","modified":"2026-06-17T10:40:49.183","status":"Modified","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.","cvss_v4":{"vector":"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","score":7.5},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2},"cwes":["CWE-78","CWE-88"],"references":["https://github.com/filebrowser/filebrowser/issues/5199","https://github.com/filebrowser/filebrowser/security/advisories/GHSA-jvpw-637p-h3pw","https://github.com/filebrowser/filebrowser/security/advisories/GHSA-jvpw-637p-h3pw"],"products":["filebrowser:filebrowser"],"source":"nvd","synced_at":"2026-10-19T22:28:59.047572785+00:00"},"epss":{"cve":"CVE-2026-35585","score":0.01922,"percentile":0.79924,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-jvpw-637p-h3pw","url":"https://osv.dev/vulnerability/GHSA-jvpw-637p-h3pw","summary":"File Browser has a Command Injection via Hook Runner","modified":"2026-09-10T03:50:44.652422006Z","packages":[{"ecosystem":"Go","name":"github.com/filebrowser/filebrowser/v2","purl":"pkg:golang/github.com/filebrowser/filebrowser/v2","ranges":["<2.33.8"],"fixed":["2.33.8"]}]},{"id":"GO-2026-5481","url":"https://osv.dev/vulnerability/GO-2026-5481","summary":"File Browser has a Command Injection via Hook Runner in github.com/filebrowser/filebrowser","modified":"2026-06-25T23:01:15.269292372Z","packages":[{"ecosystem":"Go","name":"github.com/filebrowser/filebrowser","purl":"pkg:golang/github.com/filebrowser/filebrowser","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/filebrowser/filebrowser/v2","purl":"pkg:golang/github.com/filebrowser/filebrowser/v2","ranges":["<2.33.8"],"fixed":["2.33.8"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}