CVE-2025-52995: File Browser Command Execution Allowlist Bypass Vulnerability

Summary

30/06/2025
Yes i
High
8.0

CVE-2025-52995: File Browser vulnerable to command execution allowlist bypass. Affects github.com/filebrowser/filebrowser/v2 versions < 2.33.10. Fixed in 2.33.10. How to fix ↓

Also tracked for

The same CVE-2025-52995 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

File Browser is an open-source file management application that allows users to manage files and directories through a web interface. It provides features such as file uploads, downloads, and command execution. However, a flaw in its command execution feature has been identified, which allows users to execute unauthorized shell commands due to an improper allowlist implementation.

Vulnerability Detail

The vulnerability arises from the command execution feature in File Browser, which is supposed to restrict users to a predefined list of commands. However, the implementation uses a regular expression that allows partial matches. This means that if a user is granted permission to execute a command like 'ls', they can also execute commands like 'lsof' and 'lsusb', which may lead to unauthorized access to sensitive files and data managed by the application. The impact of this vulnerability is significant, as it could allow an attacker to access the File Browser database and other critical files on the server.

How To Fix

Latest published version: v2.63.23 as of 22 Oct 2026

go get github.com/filebrowser/filebrowser/v2@v2.63.23

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.33.10

This is the first release that contains the fix.

go get github.com/filebrowser/filebrowser/v2@v2.33.10

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, administrators can restrict user permissions and limit the commands available in the allowlist until the package is updated. Ensure that only the necessary commands are included in the 'Commands' field for each user.

Conclusion

The File Browser command execution allowlist bypass vulnerability (CVE-2025-52995) poses a significant risk to users by allowing unauthorized command execution. It is crucial to update to the patched version and implement necessary security measures to protect sensitive data.

See every vulnerability recorded for github.com/filebrowser/filebrowser/v2 →

Share this vulnerability

FAQ

The vulnerability allows users to execute unauthorized shell commands due to an improper allowlist implementation in the command execution feature.

An attacker could gain access to sensitive files and data managed by the application, including the File Browser database.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Update the File Browser package to version 2.33.10 or later and restrict user permissions as a temporary measure.

The CVSS score of this vulnerability is 8.0, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/filebrowser/filebrowser/v2.

How To Fix

Latest published version: v2.63.23 as of 22 Oct 2026

go get github.com/filebrowser/filebrowser/v2@v2.63.23

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.33.10

This is the first release that contains the fix.

go get github.com/filebrowser/filebrowser/v2@v2.33.10

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback