# File Browser: Command Execution not Limited to Scope

Advisory record · `GHSA-hc8f-m8g5-8362`

- **Identifiers:** `GHSA-hc8f-m8g5-8362` · `CVE-2025-52904` · `GO-2025-3793`
- **State:** Confirmed
- **Severity:** CVSS 8.0 High
- **Critical:** No
- **Weakness (CWE):** [CWE-77](https://cwe.mitre.org/data/definitions/77.html)
- **Tags:** [Command injection](https://agentprime.io/advisories/tag/command-injection.md)
- **Published:** 30 Jun 2025
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 30 Jun 2025, 17:44 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/filebrowser/filebrowser/v2` (Go): affected `<2.33.8`; fixed in `2.33.8`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Filebrowser (github.com/filebrowser/filebrowser/v2) versions before 2.33.8 let shell commands run outside the user's assigned scope. An attacker with an account that has the Execute Commands permission and some permitted commands can read and write files the server manages, including the database holding password hashes. Upgrade to version 2.33.8, which disables the feature by default and makes it opt-in; the underlying scope issue is not fixed, so keep command execution disabled for all accounts if you do not need it.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.0 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.011, the 66th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:14 UTC: First seen by agentprime
- 31 Oct 2026, 14:14 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hc8f-m8g5-8362)

## Sources

- [GitHub Advisory Database: GHSA-hc8f-m8g5-8362](https://github.com/advisories/GHSA-hc8f-m8g5-8362)
- [OSV: GHSA-hc8f-m8g5-8362](https://osv.dev/vulnerability/GHSA-hc8f-m8g5-8362)
- <https://github.com/filebrowser/filebrowser/security/advisories/GHSA-hc8f-m8g5-8362>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-52904>
- <https://github.com/filebrowser/filebrowser/issues/5199>
- <https://github.com/GoogleContainerTools/distroless>
- <https://github.com/filebrowser/filebrowser>
- <https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250326-01_Filebrowser_Command_Execution_Not_Limited_To_Scope>
- <https://pkg.go.dev/vuln/GO-2025-3793>
- <https://sloonz.github.io/posts/sandboxing-1>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hc8f-m8g5-8362>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hc8f-m8g5-8362/>. Everything for agents: <https://agentprime.io/llms.txt>.
