{"id":"CVE-2025-52903","published":"2025-06-26T18:16:32Z","modified":"2026-06-09T11:48:21Z","title":"File Browser Allows Execution of Shell Commands That Can Spawn Other Commands","vendor":"filebrowser","product":"filebrowser","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01604,"percentile":0.7621,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/filebrowser/filebrowser/security/advisories/GHSA-3q2w-42mv-cph4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/filebrowser/filebrowser/issues/5199","tags":["x_refsource_MISC"]},{"url":"https://github.com/filebrowser/filebrowser/commit/4d830f707fc4314741fd431e70c2ce50cd5a3108","tags":["x_refsource_MISC"]},{"url":"https://github.com/GoogleContainerTools/distroless","tags":["x_refsource_MISC"]},{"url":"https://github.com/sbaresearch/advisories/tree/public/2025/SBA-ADV-20250326-02_Filebrowser_Shell_Commands_Can_Spawn_Other_Commands","tags":["x_refsource_MISC"]},{"url":"https://manpages.debian.org/bookworm/util-linux/prlimit.1.en.html","tags":["x_refsource_MISC"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3786","tags":["x_refsource_MISC"]}],"priority":{"score":20.8,"factors":[{"name":"EPSS percentile","points":15.24},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"filebrowser","affectedVersions":[{"vendor":"filebrowser","product":"filebrowser","versions":[">= 2.0.0, < 2.33.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-06-26T19:32:24.201070Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/filebrowser/filebrowser/v2","vulnerableRanges":["<2.33.10"],"patched":["2.33.10"],"from":["GHSA-3q2w-42mv-cph4","GO-2025-3786"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/filebrowser/filebrowser","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-3786"],"provenance":"source"}],"summary":{"text":"File Browser's Command Execution feature, in the 2.x branch before 2.33.10, checks only that the invoked command is on a user-specific allowlist, but many allowed tools can run arbitrary subcommands, so the allowlist can be bypassed. An attacker who holds the Execute commands permission and can reach the File Browser server can exploit this to run arbitrary code with the privileges of the server process, with exploitation made more difficult by high attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:48Z"},"euvd":{"id":"EUVD-2025-19238","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-filebrowser-cve-2021-46398","parents":[{"from":"CVE-2021-46398","to":"CVE-2025-52903","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["http/commands.go"],"commits":["https://github.com/filebrowser/filebrowser/commit/74b7cd8e81840537a8206317344f118093153e8d","https://github.com/filebrowser/filebrowser/commit/4d830f707fc4314741fd431e70c2ce50cd5a3108"],"basis":"shared function","functions":["withUser"]}]}],"children":[{"from":"CVE-2025-52903","to":"CVE-2026-54094","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["users/users.go"],"commits":["https://github.com/filebrowser/filebrowser/commit/4d830f707fc4314741fd431e70c2ce50cd5a3108","https://github.com/filebrowser/filebrowser/commit/7c2c0a11b31b2bb214d741005a0b02b1764208b3"],"basis":"shared function","functions":["Clean"]}]}],"packageHistory":[{"cve":"CVE-2026-35585","published":"2026-04-07","fixed":"2.33.8","kev":false},{"cve":"CVE-2026-54090","published":"2026-06-25","fixed":"2.33.8","kev":false},{"cve":"CVE-2025-52901","published":"2025-06-30","fixed":"2.33.9","kev":false,"link":{"from":"CVE-2025-52901","to":"CVE-2025-52903","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/filebrowser/filebrowser/v2","fromFixed":"2.33.9","toFixed":"2.33.10","daysApart":-4}]}},{"cve":"CVE-2025-52903","published":"2025-06-26","fixed":"2.33.10","kev":false},{"cve":"CVE-2025-52995","published":"2025-06-30","fixed":"2.33.10","kev":false},{"cve":"CVE-2025-52997","published":"2025-06-30","fixed":"2.34.1","kev":false},{"cve":"CVE-2025-64523","published":"2025-11-12","fixed":"2.45.1","kev":false}],"package":"Go:github.com/filebrowser/filebrowser/v2"}}