Vulnerability · Published Jun 26, 2025 · Assigned by GitHub_M

CVE-2025-52904File Browser: Command Execution not Limited to Scope

High 8.0

In plain English

A high-severity command injection in filebrowser from filebrowser. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.0High
Exploit odds (30 days)1.1%top 34.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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. 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/filebrowser/filebrowserno fix listedGO-2025-3793
Gogithub.com/filebrowser/filebrowser/v22.33.8GHSA-hc8f-m8g5-8362
Gogithub.com/filebrowser/filebrowser/v2no fix listedGO-2025-3793

Affected products (as reported)

VendorProductVersions
filebrowser filebrowser >= 2.0.0, < 2.33.8

Weakness: CWE-77 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

References