VYPR
High severityNVD Advisory· Published Nov 12, 2025· Updated Nov 13, 2025

FileBrowser has Insecure Direct Object Reference (IDOR) in Share Deletion Function

CVE-2025-64523

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.

PackageAffected versionsPatched versions
github.com/filebrowser/filebrowser/v2Go
< 2.45.12.45.1

Affected products

1

Patches

1
291223b3cefe

Merge commit from fork

https://github.com/filebrowser/filebrowserHenrique DiasNov 11, 2025via ghsa
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

News mentions

0

No linked articles in our index yet.