Vulnerability · Published Apr 7, 2026 · Assigned by GitHub_M
CVE-2026-35605File Browser has an access rule bypass via HasPrefix without trailing separator in path matching
High 7.5
In plain English
A high-severity path traversal in filebrowser from filebrowser. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/filebrowser/filebrowser | no fix listed | GO-2026-5150 |
| Go | github.com/filebrowser/filebrowser/v2 | 2.63.1 | GHSA-5q48-q4fm-g3m6 |
| Go | github.com/filebrowser/filebrowser/v2 | 2.63.1 | GO-2026-5150 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| filebrowser | filebrowser | < 2.63.1 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/filebrowser/filebrowser/security/advisories/GHSA-5q48-q4fm-g3m6 x_refsource_CONFIRM
- https://github.com/filebrowser/filebrowser/pull/5889 x_refsource_MISC