CVE-2025-52904: File Browser scope bypass via Command Execution feature

CVE-2025-52904 · Severity: high · CVSS 8 · Published 2025-06-26

File Browser is a web-based file management utility. A vulnerability in its command execution feature allows users with specific permissions to bypass their assigned folder restrictions and access any file on the server. This could lead to the theft of sensitive data, including the application's database and user password hashes, or allow an attacker to take full control of the server.

Technologies: File Browser, Filebrowser, github.com/filebrowser/filebrowser (Go), github.com/filebrowser/filebrowser/v2 (Go). Vendors: File Browser, FileBrowser, Go.

Quick answers

Is CVE-2025-52904 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-52904 being exploited in the wild.
How severe is CVE-2025-52904?
High severity, with a CVSS score of 8, published 26 June 2025.
Which products and versions are affected?
File Browser < 2.33.8, 2.x branch before 2.33.8; github.com/filebrowser/filebrowser (Go) SEMVER:introduced=0; github.com/filebrowser/filebrowser/v2 (Go) < 2.33.8, SEMVER:introduced=0, SEMVER:introduced=0,fixed=2.33.8.
Is there a fix for CVE-2025-52904?
Yes. github.com/filebrowser/filebrowser/v2 (Go): upgrade to 2.33.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-52904 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2025-52904?
Check whether you run File Browser, Filebrowser, github.com/filebrowser/filebrowser (Go) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/filebrowser/filebrowser/v2 (Go): upgrade to 2.33.8 or later
    go get github.com/filebrowser/filebrowser/v2@v2.33.8

Technical details

The vulnerability is a scope bypass within the Command Execution feature of File Browser. Shell commands are executed as a subprocess of the application using the server's system UID without being restricted to the user's assigned 'scope' (directory). An attacker with 'Execute Commands' permissions can use standard shell utilities to read or write files outside their designated area, including the application's database. This allows for the extraction of bcrypt password hashes or the modification of the database to escalate privileges to administrator. Version 2.33.8 mitigates this by disabling the feature by default and requiring an explicit opt-in with security warnings.

Affected products

  • File Browser File Browser < 2.33.8

Identifiers

  • CVE-2025-52904
  • GHSA-hc8f-m8g5-8362
  • GO-2025-3793

Timeline

  • 2025-03-26: disclosed: Vulnerability identified by SBA Research
  • 2025-06-25: patched: Feature disabled by default in v2.33.8; core bug remains unfixed due to maintenance mode
  • 2025-06-25: advisory: GitHub Advisory published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.