High severityNVD Advisory· Published Mar 5, 2026· Updated Mar 6, 2026
File Browser: Path Traversal in Public Share Links Exposes Files Outside Shared Directory
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/filebrowser/filebrowser/v2Go | < 2.61.0 | 2.61.0 |
Affected products
3- ghsa-coords2 versionspkg:golang/github.com/filebrowser/filebrowser/v2pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 2.61.0+ 1 more
- (no CPE)range: < 2.61.0
- (no CPE)range: < 0.0.20260317T205859-150000.1.152.1
- Range: < 2.61.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-mr74-928f-rw69ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-28492ghsaADVISORY
- github.com/filebrowser/filebrowser/commit/31194fb57a5b92e7155219d7ec7273028fcb2e83ghsax_refsource_MISCWEB
- github.com/filebrowser/filebrowser/releases/tag/v2.61.0ghsax_refsource_MISCWEB
- github.com/filebrowser/filebrowser/security/advisories/GHSA-mr74-928f-rw69ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.