Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-35605 EUVD-2026-19778GHSA-5q48-q4fm-g3m6GO-2026-5150

File Browser has an access rule bypass via HasPrefix without trailing separator in path matching

Published Apr 7, 2026 · Updated Apr 9, 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. Prior to 2.63.1, the Matches() function in rules/rules.go uses strings.HasPrefix() without a trailing directory separator when matching paths against access rules. A rule for /uploads also matches /uploads_backup/, granting or denying access to unintended directories. This vulnerability is fixed in 2.63.1.

Affected products

VendorProductAffectedFixed
filebrowser filebrowser < 2.63.1 —

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/filebrowser/filebrowser all versions — GO-2026-5150
Go github.com/filebrowser/filebrowser/v2 < 2.63.1 2.63.1 GHSA-5q48-q4fm-g3m6

Advisories 1

References