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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mr74-928f-rw69 FileBrowser has Path Traversal in Public Share Links that Exposes Files Outside Shared Directory
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 05 Mar 2026 21:15:00 +0000

Type Values Removed Values Added
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.
Title File Browser: Path Traversal in Public Share Links Exposes Files Outside Shared Directory
Weaknesses CWE-200
References
Metrics cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-05T21:06:21.185Z

Reserved: 2026-02-27T20:57:47.707Z

Link: CVE-2026-28492

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-05T21:16:22.630

Modified: 2026-03-05T21:16:22.630

Link: CVE-2026-28492

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses