CVE-2025-52995 File Browser vulnerable to command execution allowlist bypass

High 8.1 Published Updated

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.

PackageAffectedFixed in
github.com/filebrowser/filebrowser GoAll versionsNone
github.com/filebrowser/filebrowser GoAll versions to 1.11.0None
github.com/filebrowser/filebrowser GoAll versions to 1.11.0None
github.com/filebrowser/filebrowser/v2 GoAll versions2.33.10
github.com/filebrowser/filebrowser/v2 GoAll versions2.33.10
github.com/filebrowser/filebrowser/v2 GoAll versions2.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.

Sources

Also known as GHSA-w7qc-6grj-w7r8, GO-2025-3795.

Is CVE-2025-52995 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free