What’s Vulnerable › Vulnerabilities
CVE-2026-28492: File Browser: Path Traversal in Public Share Links Exposes Files Outside Shared Directory
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-05 · updated 2026-06-17
- Weakness: CWE-200
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.
Affected products
- filebrowser: from 2.0.0 before 2.61.0 — fixed in 2.61.0
How to fix
Upgrade to a fixed version: filebrowser 2.61.0. Check the vendor advisory for mitigations.
References
- https://github.com/filebrowser/filebrowser/commit/31194fb57a5b92e7155219d7ec7273028fcb2e83
- https://github.com/filebrowser/filebrowser/releases/tag/v2.61.0
- https://github.com/filebrowser/filebrowser/security/advisories/GHSA-mr74-928f-rw69
Get alerted when CVE-2026-28492 or the next vulnerability affects your stack