Skip to content
OpenAdvisories
High · 7.1 CVE-2026-28492 EUVD-2026-9881GHSA-mr74-928f-rw69GO-2026-4585

File Browser: Path Traversal in Public Share Links Exposes Files Outside Shared Directory

Published Mar 5, 2026 · Updated Mar 6, 2026 · 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. Prior to version 2.61.0, when a user creates a public share link for a directory, the withHashFile middleware in http/public.go uses filepath.Dir(link.Path) to compute the BasePathFs root. This sets the filesystem root to the parent directory instead of the shared directory itself, allowing anyone with the share link to browse and download files from all sibling directories. This issue has been patched in version 2.61.0.

Affected products

VendorProductAffectedFixed
filebrowser filebrowser < 2.61.0 —

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
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20260317T205859-150000.1.152.1 SUSE-SU-2026:1042-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/filebrowser/filebrowser all versions — GO-2026-4585
Go github.com/filebrowser/filebrowser/v2 < 2.61.0 2.61.0 GHSA-mr74-928f-rw69

Advisories 2

References