Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-35606 EUVD-2026-19780GHSA-67cg-cpj7-qgc9GO-2026-5167

File Browser discloses text file content via /api/resources endpoint bypassing Perm.Download check

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 resourceGetHandler in http/resource.go returns full text file content without checking the Perm.Download permission flag. All three other content-serving endpoints (/api/raw, /api/preview, /api/subtitle) correctly verify this permission before serving content. A user with download: false can read any text file within their scope through two bypass paths. 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-5167
Go github.com/filebrowser/filebrowser/v2 < 2.63.1 2.63.1 GHSA-67cg-cpj7-qgc9

Advisories 1

References