CVE-2026-35605 File Browser has an access rule bypass via HasPrefix without trailing separator in path matching

Medium 6.3 Published Updated

Attackers can bypass access rules to read or modify files in unintended directories due to improper path prefix matching in File Browser.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-35605?

CVE-2026-35605 is a medium-severity path traversal vulnerability in filebrowser, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-35605?

4 open source packages ship an affected version, including github.com/filebrowser/filebrowser/v2 and github.com/filebrowser/filebrowser. It affects 1 product.

PackageAffectedFixed in
github.com/filebrowser/filebrowser/v2 GoAll versions2.63.1
github.com/filebrowser/filebrowser/v2 GoAll versions2.63.1
github.com/filebrowser/filebrowser/v2 GoAll versions2.63.1
github.com/filebrowser/filebrowser GoAll versionsNone

Products include Filebrowser Filebrowser.

How do I fix CVE-2026-35605?

Upgrade github.com/filebrowser/filebrowser/v2 to 2.63.1 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-35605 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-35605 exists.

Sources

Also known as GHSA-5q48-q4fm-g3m6, GO-2026-5150.

Is CVE-2026-35605 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free