Skip to content
OpenAdvisories
Critical · 9.3 CVE-2026-48777 EUVD-2026-37207GHSA-qqqm-5547-774xGO-2026-5591

FileBrowser Quantum: Path Traversal in public share PATCH allows file ops outside shared directory

Published Jun 16, 2026 · Updated Jun 17, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
gtsteffaniak filebrowser < 1.3.3-stable, >= 1.4.0-beta, < 1.4.2-beta —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gtsteffaniak/filebrowser/backend < 0.0.0-20260518193514-28e9b81e438e 0.0.0-20260518193514-28e9b81e438e GHSA-qqqm-5547-774x

Advisories 1

References