CVE-2026-35605 File Browser has an access rule bypass via HasPrefix without trailing separator in path matching
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.
| Package | Affected | Fixed in |
|---|---|---|
github.com/filebrowser/filebrowser/v2 Go | All versions | 2.63.1 |
github.com/filebrowser/filebrowser/v2 Go | All versions | 2.63.1 |
github.com/filebrowser/filebrowser/v2 Go | All versions | 2.63.1 |
github.com/filebrowser/filebrowser Go | All versions | None |
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.
Other vulnerabilities in filebrowser
- CVE-2026-32760 File Browser Self Registration Grants Any User Admin Access When Default Permissions Include Admin
- CVE-2026-29188 File Browser: TUS Delete Endpoint Bypasses Delete Permission Check
- CVE-2023-39612 Cross-site scripting in n/a
- CVE-2026-30934 FileBrowser Quantum: Stored XSS in public share page via unsanitized share metadata (text/template misuse)
- CVE-2021-46398 Cross-Site Request Forgery in Filebrowser
Sources
Also known as GHSA-5q48-q4fm-g3m6, GO-2026-5150.