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.
References
| Link | Resource |
|---|---|
| https://github.com/GoogleContainerTools/distroless | Product |
| https://github.com/filebrowser/filebrowser/issues/5199 | Issue Tracking |
| https://github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-8362 | Exploit Mitigation Vendor Advisory |
| 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 | |
| https://sloonz.github.io/posts/sandboxing-1 | Technical Description |
| https://github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-8362 | Exploit Mitigation Vendor Advisory |
Configurations
History
09 Jun 2026, 11:16
| Type | Values Removed | Values Added |
|---|---|---|
| Summary | (en) 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. | |
| References |
|
|
| References | () https://github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-8362 - Exploit, Mitigation, Vendor Advisory |
05 Aug 2025, 18:25
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/GoogleContainerTools/distroless - Product | |
| References | () https://github.com/filebrowser/filebrowser/issues/5199 - Issue Tracking | |
| References | () https://github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-8362 - Exploit, Vendor Advisory, Mitigation | |
| References | () https://sloonz.github.io/posts/sandboxing-1 - Technical Description | |
| CPE | cpe:2.3:a:filebrowser:filebrowser:2.32.0:*:*:*:*:*:*:* | |
| First Time |
Filebrowser filebrowser
Filebrowser |
30 Jun 2025, 18:39
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
26 Jun 2025, 20:15
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-8362 - |
26 Jun 2025, 19:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-06-26 19:15
Updated : 2026-06-09 11:16
NVD link : CVE-2025-52904
Mitre link : CVE-2025-52904
CVE.ORG link : CVE-2025-52904
JSON object : View
Products Affected
filebrowser
- filebrowser
CWE
CWE-77
Improper Neutralization of Special Elements used in a Command ('Command Injection')
