Vulnerability · Published Jun 26, 2025 · Assigned by GitHub_M

CVE-2025-52903File Browser Allows Execution of Shell Commands That Can Spawn Other Commands

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.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.0High
Exploit odds (30 days)1.2%top 31.6% 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 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/filebrowser/filebrowserno fix listedGO-2025-3786
Gogithub.com/filebrowser/filebrowser/v22.33.10GHSA-3q2w-42mv-cph4
Gogithub.com/filebrowser/filebrowser/v22.33.10GO-2025-3786

Affected products (as reported)

VendorProductVersions
filebrowser filebrowser >= 2.0.0, < 2.33.10

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

References