FileBrowser Quantum's path traversal issue in subtitle handler allows any authenticated user to read arbitrary files
Description
FileBrowser Quantum is a free, self-hosted, web-based file manager. Prior to version 1.4.3-beta, the subtitlesHandler endpoint (GET /api/media/subtitles) accepts two user-controlled query parameters: path and name, both of which are used in filesystem operations without sanitization, creating two independent path traversal vectors. The primary vector is the path parameter: it is passed directly to idx.GetRealPath() without calling SanitizeUserPath(), allowing an attacker to escape the storage root and set parentDir to any directory on the host. No existing anchor file is required. The secondary vector is the name parameter: it is joined with parentDir via filepath.Join(parentDir, name) without stripping directory components, allowing traversal relative to any resolved parentDir. Any authenticated user (regardless of role or permissions) can exploit either vector to read any text file readable by the server process, including /etc/passwd, SSH keys, database credentials, and JWT signing keys. Version 1.4.3-beta patches the issue.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/gtsteffaniak/filebrowser/backendGo | < 0.0.0-20260608182036-f3f4bbe80cb5 | 0.0.0-20260608182036-f3f4bbe80cb5 |
Affected products
3v1.2.1-stable, v1.0.1-stable, v0.7.6-beta, …+ 1 more
- (no CPE)range: v1.2.1-stable, v1.0.1-stable, v0.7.6-beta, …
- (no CPE)range: <1.4.3-beta
- Range: <1.4.3-beta
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-vvp7-h4fj-m28wghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-54910ghsaADVISORY
- github.com/gtsteffaniak/filebrowser/commit/f3f4bbe80cb569d664174aea874d7bfa008c3b5aghsax_refsource_MISCWEB
- github.com/gtsteffaniak/filebrowser/pull/2524ghsaWEB
- github.com/gtsteffaniak/filebrowser/releases/tag/v1.4.3-betaghsaWEB
- github.com/gtsteffaniak/filebrowser/security/advisories/GHSA-vvp7-h4fj-m28wghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.