7.2high
FileBrowser has Insecure Direct Object Reference (IDOR) in Share Deletion Function
- Severity
- 7.2high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-6cqf-cfhv-659gGO-2025-4117
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
| Product or package | Versions | Reported by |
|---|---|---|
| filebrowser filebrowser | < 2.45.1, before 2.45.1 | CVE List, NVD |
| github.com/filebrowser/filebrowser/v2 (Go) | before 2.45.1 | GitHub Advisory Database, Go Vulnerability Database |
| github.com/filebrowser/filebrowser (Go) | all versions | Go Vulnerability Database |
All scores
| GitHub_M | 7.2high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Summary
It has been found 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.
Details
Technical Analysis
The vulnerability exists in /http/share.go at lines 72-82. The shareDeleteHandler function processes deletion requests using only the share hash without comparing the link.UserID with the current authenticated user's ID (d.user.ID). This missing authorization check enables the vulnerability.
var shareDeleteHandler = withPermShare(func(_ http.ResponseWriter, r *http.Request, d *data) (int, error) {
hash := strings.TrimSuffix(r.URL.Path, "/")
hash = strings.TrimPrefix(hash, "/")
if hash == "" {
return http.StatusBadRequest, nil
}
err := d.store.Share.Delete(hash) // Missing ownership validation
return errToStatus(err), err
})
PoC
Reproduce Steps:
Prerequisites: Two authenticated user accounts (User A and User B) with share permissions
Step 1: User A creates a share link and obtains the share hash (e.g., MEEuZK-v)
Step 2: User B authenticates and obtains a valid JWT token
Step 3: User B sends DELETE request to /api/share/MEEuZK-v with their own JWT token
Step 4: Observe that User A's share is deleted without authorization
DELETE /api/share/MEEuZK-v HTTP/1.1 Host: filebrowser.local Content-Type: application/json
Impact
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.
Go Vulnerability Database
File Browser is Vulnerable to Insecure Direct Object Reference (IDOR) in Share Deletion Function in github.com/filebrowser/filebrowser
NVD (es)
File Browser proporciona una interfaz de gestión de archivos dentro de un directorio especificado y puede utilizarse para cargar, eliminar, previsualizar, renombrar y editar archivos. Las versiones anteriores a la 2.45.1 tienen una vulnerabilidad de Referencia Directa a Objeto Insegura (IDOR) en la funcionalidad de eliminación de recursos compartidos de la aplicación FileBrowser. Esta vulnerabilidad permite a cualquier usuario autenticado con permisos de recurso compartido eliminar los enlaces compartidos de otros usuarios sin comprobaciones de autorización. El impacto es significativo ya que los actores maliciosos pueden interrumpir las operaciones comerciales eliminando sistemáticamente archivos y enlaces compartidos. Esto conduce a la denegación de servicio para usuarios legítimos, posible pérdida de datos en entornos colaborativos y el incumplimiento de los acuerdos de confidencialidad de datos. En entornos organizacionales, esto podría afectar el intercambio crítico de archivos para proyectos, presentaciones o colaboración de documentos. La versión 2.45.1 contiene una solución para el problema.
References
| https://github.com/filebrowser/filebrowser/security/advisories/GHSA-6cqf-cfhv-659g | advisory, exploit, vendor-advisory, web | |
| https://github.com/filebrowser/filebrowser/commit/291223b3cefe1e50fae8f73d70464b1dc25351a4 | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-64523 | advisory | |
| https://github.com/filebrowser/filebrowser | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-64523 changed 2025-11-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6cqf-cfhv-659g changed 2026-02-03 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-4117 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2025-64523 changed 2026-10-19 | Public domain |