CVE-2025-52903
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 on the 2.x branch prior to 2.33.10, the Command Execution feature of File Browser only allows the execution of shell command which have been predefined on a user-specific allowlist. Many tools allow the execution of arbitrary different commands, rendering this limitation void. The concrete impact depends on the commands being granted to the attacker, but the large number of standard commands allowing the execution of subcommands makes it likely that every user having the `Execute commands` permissions can exploit this vulnerability. Everyone who can exploit it will have full code execution rights with the uid of the server process. Version 2.33.10 contains a check for whether a command is allowed when using shell.
How to fix
- github.com/filebrowser/filebrowser/v22.33.10 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| filebrowser filebrowser | 2.32.0 | — |
| github.com/filebrowser/filebrowser/v2Go | v < 2.33.10 | 2.33.10 |
| github.com/filebrowser/filebrowserGo | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.