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

- Severity: High 7.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-02T20:15:46.000Z
- Modified: 2026-06-17T10:28:44.327Z
- Also known as: GHSA-mr74-928f-rw69, GO-2026-4585
- Weaknesses: CWE-200
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- filebrowser filebrowser: < 2.61.0; from 2.0.0 before 2.61.0
- github.com/filebrowser/filebrowser/v2 (Go): before 2.61.0
- github.com/filebrowser/filebrowser (Go): all versions

## Every score

- GitHub_M: CVSS:4.0 7.1 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/filebrowser/filebrowser/security/advisories/GHSA-mr74-928f-rw69> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://github.com/filebrowser/filebrowser/commit/31194fb57a5b92e7155219d7ec7273028fcb2e83> (fix, patch, web)
- <https://github.com/filebrowser/filebrowser/releases/tag/v2.61.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-28492> (advisory)
- <https://github.com/filebrowser/filebrowser> (package)

## Sources

- CVE List: [CVE-2026-28492](https://www.cve.org/CVERecord?id=CVE-2026-28492), CVE Terms of Use, modified 2026-03-06
- GitHub Advisory Database: [GHSA-mr74-928f-rw69](https://github.com/advisories/GHSA-mr74-928f-rw69), CC-BY-4.0, modified 2026-03-23
- Go Vulnerability Database: [GO-2026-4585](https://pkg.go.dev/vuln/GO-2026-4585), CC-BY-4.0, modified 2026-03-23
- NVD: [CVE-2026-28492](https://nvd.nist.gov/vuln/detail/CVE-2026-28492), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-28492 · Whole record: https://cve.day/CVE-2026-28492.json · Rebuilt by cve.day 2026-11-25T22:59:15.339Z
