VYPR
High severityNVD Advisory· Published Feb 9, 2026· Updated Feb 10, 2026

File Browser has a Path-Based Access Control Bypass via Multiple Leading Slashes in URL

CVE-2026-25890

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 2.57.1, an authenticated user can bypass the application's "Disallow" file path rules by modifying the request URL. By adding multiple slashes (e.g., //private/) to the path, the authorization check fails to match the rule, while the underlying filesystem resolves the path correctly, granting unauthorized access to restricted files. This vulnerability is fixed in 2.57.1.

Affected packages

Versions sourced from the GitHub Security Advisory.

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

Affected products

1

Patches

1
489af403a190

fix: remove skip clean

https://github.com/filebrowser/filebrowserHenrique DiasFeb 8, 2026via ghsa
1 file changed · +0 5
  • http/http.go+0 5 modified
    @@ -35,11 +35,6 @@ func NewHandler(
     	})
     	index, static := getStaticHandlers(store, server, assetsFs)
     
    -	// NOTE: This fixes the issue where it would redirect if people did not put a
    -	// trailing slash in the end. I hate this decision since this allows some awful
    -	// URLs https://www.gorillatoolkit.org/pkg/mux#Router.SkipClean
    -	r = r.SkipClean(true)
    -
     	monkey := func(fn handleFunc, prefix string) http.Handler {
     		return handle(fn, prefix, store, server)
     	}
    

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

5

News mentions

0

No linked articles in our index yet.