High severity · published Jun 26, 2025
CVE-2025-52904
File Browser: Command Execution not Limited to Scope
8.0
CVSS
1.1%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
High
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 66% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FI
filebrowser · filebrowser
>= 2.0.0, < 2.33.8 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-52904
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-52904
Product
https://github.com/GoogleContainerTools/distroless
Issue Tracking
https://github.com/filebrowser/filebrowser/issues/5199
Exploit
https://github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-8362
github.com
https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250326-01_Filebrowser_Command_Execution_Not_Limited_To_Scope
pkg.go.dev
https://pkg.go.dev/vuln/GO-2025-3793
Technical Description
https://sloonz.github.io/posts/sandboxing-1
More from filebrowser
9.8
CVE-2026-72839
filebrowser through 2.63.16 Privilege Escalation via Signup
9.8
CVE-2026-34528
File Browser's Signup Grants Execution Permissions When Default Permissions Includes Execution
9.8
CVE-2026-32760
File Browser Self Registration Grants Any User Admin Access When Default Permissions Include Admin
9.8
CVE-2025-53826
FileBrowser Has Insecure JWT Handling Which Allows Session Replay Attacks after Logout
9.3
CVE-2026-54088
File Browser: Command Injection via Authentication Hook Shell Substitution (Pre-Authentication RCE)
