CVE-2025-52904
HIGH 8.0CVSS 3.1File Browser: Command Execution not Limited to Scope
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.
- Published
- 26 Jun 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-hc8f-m8g5-8362GO-2025-3793
- Sources
- NVDJSONOSV GHSA-hc8f-m8g5-8362JSONOSV GO-2025-3793JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | filebrowser | filebrowsercpe:2.3:a:filebrowser:filebrowser:2.32.0:*:*:*:*:*:*:* |
= 2.32.0 | |
| OSV | Go | github.com/filebrowser/filebrowser/v2 | < 2.33.8 | 2.33.8 |
| OSV | Go | github.com/filebrowser/filebrowser | all versions | |
| OSV | Go | github.com/filebrowser/filebrowser/v2 | all versions |
References
- https://github.com/GoogleContainerTools/distroless · Product, WEB
- https://github.com/filebrowser/filebrowser/issues/5199 · Issue Tracking, WEB, REPORT
- https://github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-8362 · Exploit, Mitigation, Vendor Advisory, WEB, ADVISORY
- 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
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 26 Jun 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jul 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 30 Jun 2025)