# CVE-2025-52903: File Browser Allows Execution of Shell Commands That Can Spawn Other Commands

- Severity: High 8.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-26T18:16:32.203Z
- Modified: 2026-06-17T09:37:14.887Z
- Also known as: GHSA-3q2w-42mv-cph4, GO-2025-3786
- Weaknesses: CWE-77, CWE-88, CWE-183, CWE-749
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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 on the 2.x branch prior to 2.33.10, the Command Execution feature of File Browser only allows the execution of shell command which have been predefined on a user-specific allowlist. Many tools allow the execution of arbitrary different commands, rendering this limitation void. The concrete impact depends on the commands being granted to the attacker, but the large number of standard commands allowing the execution of subcommands makes it likely that every user having the `Execute commands` permissions can exploit this vulnerability. Everyone who can exploit it will have full code execution rights with the uid of the server process. Version 2.33.10 contains a check for whether a command is allowed when using shell.

(As written by CVE List.)

## Affected

- filebrowser filebrowser: >= 2.0.0, < 2.33.10; 2.32.0
- github.com/filebrowser/filebrowser/v2 (Go): before 2.33.10
- github.com/filebrowser/filebrowser (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/filebrowser/filebrowser/security/advisories/GHSA-3q2w-42mv-cph4> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://github.com/filebrowser/filebrowser/issues/5199> (issue-tracking, report, web)
- <https://github.com/filebrowser/filebrowser/commit/4d830f707fc4314741fd431e70c2ce50cd5a3108> (fix, web)
- <https://github.com/GoogleContainerTools/distroless> (product, web)
- <https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250326-02_Filebrowser_Shell_Commands_Can_Spawn_Other_Commands> (web)
- <https://manpages.debian.org/bookworm/util-linux/prlimit.1.en.html> (technical-description, web)
- <https://pkg.go.dev/vuln/GO-2025-3786> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-52903> (advisory)
- <https://github.com/filebrowser/filebrowser> (package)

## Sources

- CVE List: [CVE-2025-52903](https://www.cve.org/CVERecord?id=CVE-2025-52903), CVE Terms of Use, modified 2026-06-09
- GitHub Advisory Database: [GHSA-3q2w-42mv-cph4](https://github.com/advisories/GHSA-3q2w-42mv-cph4), CC-BY-4.0, modified 2026-06-09
- Go Vulnerability Database: [GO-2025-3786](https://pkg.go.dev/vuln/GO-2025-3786), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-52903](https://nvd.nist.gov/vuln/detail/CVE-2025-52903), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-52903 · Whole record: https://cve.day/CVE-2025-52903.json · Rebuilt by cve.day 2026-11-25T22:58:59.662Z
