FileBrowser has Insecure Direct Object Reference (IDOR) in Share Deletion Function
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. Versions prior to 2.45.1 have an Insecure Direct Object Reference (IDOR) vulnerability in the FileBrowser application's share deletion functionality. This vulnerability allows any authenticated user with share permissions to delete other users' shared links without authorization checks. The impact is significant as malicious actors can disrupt business operations by systematically removing shared files and links. This leads to denial of service for legitimate users, potential data loss in collaborative environments, and breach of data confidentiality agreements. In organizational settings, this could affect critical file sharing for projects, presentations, or document collaboration. Version 2.45.1 contains a fix for the issue.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/filebrowser/filebrowser/v2Go | < 2.45.1 | 2.45.1 |
Affected products
1- Range: < 2.45.1
Patches
1291223b3cefeMerge commit from fork
1 file changed · +10 −1
http/share.go+10 −1 modified@@ -77,7 +77,16 @@ var shareDeleteHandler = withPermShare(func(_ http.ResponseWriter, r *http.Reque return http.StatusBadRequest, nil } - err := d.store.Share.Delete(hash) + link, err := d.store.Share.GetByHash(hash) + if err != nil { + return errToStatus(err), err + } + + if link.UserID != d.user.ID && !d.user.Perm.Admin { + return http.StatusForbidden, nil + } + + err = d.store.Share.Delete(hash) return errToStatus(err), err })
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
4- github.com/advisories/GHSA-6cqf-cfhv-659gghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-64523ghsaADVISORY
- github.com/filebrowser/filebrowser/commit/291223b3cefe1e50fae8f73d70464b1dc25351a4ghsax_refsource_MISCWEB
- github.com/filebrowser/filebrowser/security/advisories/GHSA-6cqf-cfhv-659gghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.