RCE in Filebrowser
CVE-2025-52904
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.011 (64.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 64.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.011 · change: +0.002
Affected products
- Filebrowser — versions >= 2.0.0, < 2.33.8, <= 2.35.0, 2.32.0
Weakness classification (CWE)
References
- github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-8362 (Exploit, Mitigation, Vendor Advisory)
- github.com/filebrowser/filebrowser/issues/5199 (Issue Tracking)
- github.com/GoogleContainerTools/distroless (Product)
- sloonz.github.io/posts/sandboxing-1 (Technical Description)
- github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250326-01_Filebrow…
- pkg.go.dev/vuln/GO-2025-3793
Frequently asked questions
- What is CVE-2025-52904?
- CVE-2025-52904 is a high-severity vulnerability in Filebrowser, classified under Command Injection. CVSS score: 8.0/10. Published 2025-06-26.
- How severe is CVE-2025-52904?
- High severity. CVSS v3 base score is 8.0 out of 10.