Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/gtsteffaniak/filebrowser/backend
  4. ›
  5. CVE-2026-54910

CVE-2026-54910: FileBrowser Quantum's path traversal issue in subtitle handler allows any authenticated user to read arbitrary files

July 31, 2026

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.

References

  • github.com/advisories/GHSA-vvp7-h4fj-m28w
  • github.com/gtsteffaniak/filebrowser/commit/f3f4bbe80cb569d664174aea874d7bfa008c3b5a
  • github.com/gtsteffaniak/filebrowser/pull/2524
  • github.com/gtsteffaniak/filebrowser/releases/tag/v1.4.3-beta
  • github.com/gtsteffaniak/filebrowser/security/advisories/GHSA-vvp7-h4fj-m28w
  • nvd.nist.gov/vuln/detail/CVE-2026-54910

Code Behaviors & Features

Detect and mitigate CVE-2026-54910 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260608182036-f3f4bbe80cb5

Fixed versions

  • 0.0.0-20260608182036-f3f4bbe80cb5

Solution

Upgrade to version 0.0.0-20260608182036-f3f4bbe80cb5 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-23: Relative Path Traversal

Source file

go/github.com/gtsteffaniak/filebrowser/backend/CVE-2026-54910.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:42 +0000.