CVE-2025-52903
File Browser Allows Execution of Shell Commands That Can Spawn Other Commands
Also known as GHSA-3q2w-42mv-cph4, GO-2025-3786
Mitigation
- Upgrade github.com/filebrowser/filebrowser/v2 to 2.33.10 or later.
Who should check
- Projects that depend on Go package github.com/filebrowser/filebrowser/v2 (< 2.33.10)
- Projects that depend on Go package github.com/filebrowser/filebrowser
- Anyone running filebrowser >= 2.0.0, < 2.33.10
Vulnerability facts
- Affected
- github.com/filebrowser/filebrowser/v2 < 2.33.10; github.com/filebrowser/filebrowser
- Fixed in
- 2.33.10
- 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.60% chance of exploitation in 30 days (percentile 76, 2026-11-26)
- CWE
- CWE-77
- 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 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/filebrowser/filebrowser/v2 | < 2.33.10 | 2.33.10 | osv |
| Go github.com/filebrowser/filebrowser | — | — | osv |
| filebrowser | >= 2.0.0, < 2.33.10 | — | 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-52903. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-52903.md Affected: github.com/filebrowser/filebrowser/v2 < 2.33.10; github.com/filebrowser/filebrowser Fixed in: 2.33.10 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
Vendor advisories
Other
- https://github.com/filebrowser/filebrowser/issues/5199
- https://github.com/GoogleContainerTools/distroless
- https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250326-02_Filebrowser_Shell_Commands_Can_Spawn_Other_Commands
- https://manpages.debian.org/bookworm/util-linux/prlimit.1.en.html
- https://pkg.go.dev/vuln/GO-2025-3786
- https://github.com/filebrowser/filebrowser
FAQ
Is CVE-2025-52903 being exploited?
There is no confirmed exploitation: CVE-2025-52903 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.60% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-52903?
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-52903?
github.com/filebrowser/filebrowser/v2 < 2.33.10; github.com/filebrowser/filebrowser.
Is there a fix for CVE-2025-52903?
Yes. Fixed in 2.33.10. Upgrade github.com/filebrowser/filebrowser/v2 to 2.33.10 or later.
How do I check if I'm affected by CVE-2025-52903?
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.