Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-32758 EUVD-2026-13390GHSA-9f3r-2vgw-m8xpGO-2026-4711

File Browser has an Access Rule Bypass via Path Traversal in Copy/Rename Destination Parameter

Published Mar 19, 2026 · Updated Mar 20, 2026 · Assigned by GitHub_M

Description

File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. Versions 2.61.2 and below are vulnerable to Path Traversal through the resourcePatchHandler (http/resource.go). The destination path in resourcePatchHandler is validated against access rules before being cleaned/normalized, while the actual file operation calls path.Clean() afterward—resolving .. sequences into a different effective path. This allows an authenticated user with Create or Rename permissions to bypass administrator-configured deny rules (both prefix-based and regex-based) by injecting .. sequences in the destination parameter of a PATCH request. As a result, the user can write or move files into any deny-rule-protected path within their scope. However, this cannot be used to escape the user's BasePathFs scope or read from restricted paths. This issue has been fixed in version 2.62.0.

Affected products

VendorProductAffectedFixed
filebrowser filebrowser < 2.62.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.20260326T203309-150000.1.155.2 SUSE-SU-2026:1135-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/filebrowser/filebrowser all versions — GO-2026-4711
Go github.com/filebrowser/filebrowser/v2 < 2.62.0 2.62.0 GHSA-9f3r-2vgw-m8xp

Advisories 2

References