File Browser has an Access Rule Bypass via Path Traversal in Copy/Rename Destination Parameter
Description
File Browser is a file managing interface for uploading, deleting, previewing, renaming, and editing files within a specified directory. Versions 2.61.2 and below are vulnerable to Path Traversal through the resourcePatchHandler (http/resource.go). The destination path in resourcePatchHandler is validated against access rules before being cleaned/normalized, while the actual file operation calls path.Clean() afterward—resolving .. sequences into a different effective path. This allows an authenticated user with Create or Rename permissions to bypass administrator-configured deny rules (both prefix-based and regex-based) by injecting .. sequences in the destination parameter of a PATCH request. As a result, the user can write or move files into any deny-rule-protected path within their scope. However, this cannot be used to escape the user's BasePathFs scope or read from restricted paths. This issue has been fixed in version 2.62.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.62.0 | 2.62.0 |
Affected products
3- ghsa-coords2 versionspkg:golang/github.com/filebrowser/filebrowser/v2pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6
< 2.62.0+ 1 more
- (no CPE)range: < 2.62.0
- (no CPE)range: < 0.0.20260326T203309-150000.1.155.2
- Range: < 2.62.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-9f3r-2vgw-m8xpghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-32758ghsaADVISORY
- github.com/filebrowser/filebrowser/commit/4bd7d69c82163b201a987e99c0c50d7ecc6ee5f1ghsax_refsource_MISCWEB
- github.com/filebrowser/filebrowser/releases/tag/v2.62.0ghsax_refsource_MISCWEB
- github.com/filebrowser/filebrowser/security/advisories/GHSA-9f3r-2vgw-m8xpghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.