CVE-2026-28492
Description
File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit files. Prior to version 2.61.0, when a user creates a public share link for a directory, the withHashFile middleware in http/public.go uses filepath.Dir(link.Path) to compute the BasePathFs root. This sets the filesystem root to the parent directory instead of the shared directory itself, allowing anyone with the share link to browse and download files from all sibling directories. This issue has been patched in version 2.61.0.
How to fix
- filebrowser filebrowser2.61.0 or later
- github.com/filebrowser/filebrowser/v22.61.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| filebrowser filebrowser | 2.0.0 ≤ v < 2.61.0 | 2.61.0 |
| github.com/filebrowser/filebrowser/v2Go | v < 2.61.0 | 2.61.0 |
| github.com/filebrowser/filebrowserGo | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.