What’s Vulnerable › Vulnerabilities

CVE-2026-28492: File Browser: Path Traversal in Public Share Links Exposes Files Outside Shared Directory

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

How to fix

Upgrade to a fixed version: filebrowser 2.61.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-28492 or the next vulnerability affects your stack