CVE-2025-52995 File Browser vulnerable to command execution allowlist bypass
An allowlist bypass in File Browser allows authenticated users to execute unauthorized shell commands, potentially leading to code execution and data access.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-52995?
CVE-2025-52995 is a high-severity command injection vulnerability in filebrowser, published on 30 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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. Prior to version 2.33.10, the implementation of the allowlist is erroneous, allowing a user to execute more shell commands than they are authorized for. The concrete impact of this vulnerability depends on the commands configured, and the binaries installed on the server or in the container image. Due to the missing separation of scopes on the OS-level, this could give an attacker access to all files managed the application, including the File Browser database. This issue has been patched in version 2.33.10.
Weakness: CWE-77
Which versions are affected by CVE-2025-52995?
6 open source packages ship an affected version, including github.com/filebrowser/filebrowser and github.com/filebrowser/filebrowser/v2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/filebrowser/filebrowser Go | All versions | None |
github.com/filebrowser/filebrowser Go | All versions to 1.11.0 | None |
github.com/filebrowser/filebrowser Go | All versions to 1.11.0 | None |
github.com/filebrowser/filebrowser/v2 Go | All versions | 2.33.10 |
github.com/filebrowser/filebrowser/v2 Go | All versions | 2.33.10 |
github.com/filebrowser/filebrowser/v2 Go | All versions | 2.33.10 |
Products include Filebrowser Filebrowser.
How do I fix CVE-2025-52995?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-52995 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-52995 exists.
Other vulnerabilities in filebrowser
- CVE-2026-32760 File Browser Self Registration Grants Any User Admin Access When Default Permissions Include Admin
- CVE-2026-29188 File Browser: TUS Delete Endpoint Bypasses Delete Permission Check
- CVE-2023-39612 Cross-site scripting in n/a
- CVE-2026-30934 FileBrowser Quantum: Stored XSS in public share page via unsanitized share metadata (text/template misuse)
- CVE-2021-46398 Cross-Site Request Forgery in Filebrowser
Sources
Also known as GHSA-w7qc-6grj-w7r8, GO-2025-3795.