Skip to content

CVE-2026-48777 FileBrowser Quantum: Path Traversal in public share PATCH allows file ops outside shared directory

CriticalCVSS 9.3 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

FileBrowser Quantum is a free, self-hosted, web-based file manager. Versions prior to 1.3.2-stable, 1.4.0-beta and 1.4.1-beta are vulnerable to Path Traversal through the publicPatchHandler in backend/http/public.go which joins user-controlled fromPath and toPath body fields with the trusted d.share.Path BEFORE the downstream sanitizer runs. Because filepath.Join collapses .. segments during the join, the sanitizer in resourcePatchHandler never sees the traversal and the move/copy/rename operates on a path outside the shared directory. The same root-cause pattern was patched for the bulk DELETE endpoint as CVE-2026-44542 (GHSA-fwj3-42wh-8673), but the PATCH handler with the identical pattern was not updated. A public share link with AllowModify=true is sufficient to exploit this. Anyone holding such a link can move, copy, or rename arbitrary files within the share owner's source root. This issue has been fixed in versions 1.3.3-stable and 1.4.2-beta.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
gtsteffaniak github.com/gtsteffaniak/filebrowser/backend(Go) < 0.0.0-20260518193514-28e9b81e438e 0.0.0-20260518193514-28e9b81e438e Fixed
gtsteffaniak filebrowser = < 1.3.3-stable; = >= 1.4.0-beta, < 1.4.2-beta No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
gtsteffaniak filebrowser = < 1.3.3-stable No fix listed
gtsteffaniak filebrowser = >= 1.4.0-beta, < 1.4.2-beta No fix listed
gtsteffaniak github.com/gtsteffaniak/filebrowser/backend(Go) < 0.0.0-20260518193514-28e9b81e438e 0.0.0-20260518193514-28e9b81e438e

References