{"cve":"CVE-2025-52904","nvd":{"published":"2025-06-26T19:15:21.743","modified":"2026-06-17T09:37:15.007","status":"Modified","description":"File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. In versions of the web application on the 2.x branch, all users have a scope assigned, and they only have access to the files within that scope. The Command Execution feature of Filebrowser allows the execution of shell commands which are not restricted to the scope, potentially giving an attacker read and write access to all files managed by the server. Until this issue is fixed, the maintainers recommend to completely disable `Execute commands` for all accounts. Since the command execution is an inherently dangerous feature that is not used by all deployments, it should be possible to completely disable it in the application's configuration. This feature has been disabled by default for all installations from v2.33.8 onwards, including for existent installations. To exploit this vulnerability, the instance administrator must turn on a feature and ignore all the warnings about known vulnerabilities.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","score":8.0},"cwes":["CWE-77"],"references":["https://github.com/GoogleContainerTools/distroless","https://github.com/filebrowser/filebrowser/issues/5199","https://github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-8362","https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250326-01_Filebrowser_Command_Execution_Not_Limited_To_Scope","https://pkg.go.dev/vuln/GO-2025-3793"],"products":["filebrowser:filebrowser"],"source":"nvd","synced_at":"2026-10-19T22:03:23.287444849+00:00"},"epss":{"cve":"CVE-2025-52904","score":0.01115,"percentile":0.66055,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hc8f-m8g5-8362","url":"https://osv.dev/vulnerability/GHSA-hc8f-m8g5-8362","summary":"File Browser: Command Execution not Limited to Scope","modified":"2026-09-10T03:50:25.287186086Z","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-2025-3793","url":"https://osv.dev/vulnerability/GO-2025-3793","summary":"File Browser: Command Execution not Limited to Scope in github.com/filebrowser/filebrowser","modified":"2026-02-04T03:11:57.667510Z","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":["all versions"],"fixed":[]}]}],"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."]}