Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Filebrowser | Filebrowser | 2.32.0 |
Related Weaknesses (CWE)
References
- https://github.com/GoogleContainerTools/distrolessProduct
- https://github.com/filebrowser/filebrowser/issues/5199Issue Tracking
- https://github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-83ExploitMitigationVendor Advisory
- https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250326-01_F
- https://pkg.go.dev/vuln/GO-2025-3793
- https://sloonz.github.io/posts/sandboxing-1Technical Description
- https://github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-83ExploitMitigationVendor Advisory
FAQ
What is CVE-2025-52904?
CVE-2025-52904 is a vulnerability with a CVSS score of 8.0 (HIGH). 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,...
How severe is CVE-2025-52904?
CVE-2025-52904 has been rated HIGH with a CVSS base score of 8.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-52904?
Check the references section above for vendor advisories and patch information. Affected products include: Filebrowser Filebrowser.