# CVE-2025-52904: File Browser: Command Execution not Limited to Scope

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.22%, higher than 69% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-26T18:21:03.284Z
- Modified: 2026-09-10T03:50:25.287Z
- Also known as: GHSA-hc8f-m8g5-8362, GO-2025-3793
- Related: CGA-v239-g883-j823
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- filebrowser filebrowser: >= 2.0.0, < 2.33.8; 2.32.0
- github.com/filebrowser/filebrowser/v2 (Go): before 2.33.8; all versions
- github.com/filebrowser/filebrowser (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-8362> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://github.com/filebrowser/filebrowser/issues/5199> (issue-tracking, report, web)
- <https://github.com/GoogleContainerTools/distroless> (product, web)
- <https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250326-01_Filebrowser_Command_Execution_Not_Limited_To_Scope> (web)
- <https://pkg.go.dev/vuln/GO-2025-3793> (web)
- <https://sloonz.github.io/posts/sandboxing-1> (technical-description, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-52904> (advisory)
- <https://github.com/filebrowser/filebrowser> (package)

## Sources

- CVE List: [CVE-2025-52904](https://www.cve.org/CVERecord?id=CVE-2025-52904), CVE Terms of Use, modified 2026-06-09
- GitHub Advisory Database: [GHSA-hc8f-m8g5-8362](https://github.com/advisories/GHSA-hc8f-m8g5-8362), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3793](https://pkg.go.dev/vuln/GO-2025-3793), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-52904](https://nvd.nist.gov/vuln/detail/CVE-2025-52904), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-52904 · Whole record: https://cve.day/CVE-2025-52904.json · Rebuilt by cve.day 2026-11-25T22:58:59.663Z
