CVE-2026-28492 File Browser: Path Traversal in Public Share Links Exposes Files Outside Shared Directory
Attackers with a public share link can browse and download files from sibling directories due to incorrect filesystem root calculation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-28492?
CVE-2026-28492 is a high-severity path traversal vulnerability in filebrowser, published on 5 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-200
Which versions are affected by CVE-2026-28492?
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.61.0 |
github.com/filebrowser/filebrowser/v2 Go | All versions | 2.61.0 |
github.com/filebrowser/filebrowser/v2 Go | All versions | 2.61.0 |
github.com/filebrowser/filebrowser Go | All versions | None |
Products include Filebrowser Filebrowser.
How do I fix CVE-2026-28492?
Upgrade github.com/filebrowser/filebrowser/v2 to 2.61.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-28492 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-28492 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-mr74-928f-rw69, GO-2026-4585.