Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-52904

HIGH 8.0EPSS 76%

File Browser: Command Execution not Limited to Scope

Also known as GHSA-hc8f-m8g5-8362, GO-2025-3793

Mitigation

  • Upgrade github.com/filebrowser/filebrowser/v2 to 2.33.8 or later.

Who should check

  • Projects that depend on Go package github.com/filebrowser/filebrowser/v2 (< 2.33.8)
  • Projects that depend on Go package github.com/filebrowser/filebrowser
  • Anyone running filebrowser >= 2.0.0, < 2.33.8

Vulnerability facts

Affected
github.com/filebrowser/filebrowser/v2 < 2.33.8; github.com/filebrowser/filebrowser
Fixed in
2.33.8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.0 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: High
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
1.57% chance of exploitation in 30 days (percentile 76, 2026-11-26)
CWE
CWE-77
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Go github.com/filebrowser/filebrowser/v2< 2.33.82.33.8osv
Go github.com/filebrowser/filebrowser——osv
filebrowser>= 2.0.0, < 2.33.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-52904. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-52904.md
Affected: github.com/filebrowser/filebrowser/v2 < 2.33.8; github.com/filebrowser/filebrowser
Fixed in: 2.33.8

Steps:
1. Search this machine and project for github.com/filebrowser/filebrowser/v2 (Go), github.com/filebrowser/filebrowser (Go), filebrowser: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-52904 being exploited?

There is no confirmed exploitation: CVE-2025-52904 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.57% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-52904?

High: CVSS 8.0 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-52904?

github.com/filebrowser/filebrowser/v2 < 2.33.8; github.com/filebrowser/filebrowser.

Is there a fix for CVE-2025-52904?

Yes. Fixed in 2.33.8. Upgrade github.com/filebrowser/filebrowser/v2 to 2.33.8 or later.

How do I check if I'm affected by CVE-2025-52904?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors