CVE-2026-54910

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.
Configurations

No configuration.

History

24 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) FileBrowser Quantum es un gestor de archivos gratuito, autoalojado y basado en web. Antes de la versión 1.4.3-beta, el endpoint “subtitlesHandler” (“GET /api/media/subtitles”) acepta dos parámetros de consulta controlados por el usuario: “path” y “name”, ambos utilizados en operaciones del sistema de archivos sin sanitización, creando dos vectores independientes de salto de ruta. El vector principal es el parámetro “path”: se pasa directamente a “idx.GetRealPath()” sin llamar a “SanitizeUserPath()”, permitiendo a un atacante escapar de la raíz de almacenamiento y establecer “parentDir” a cualquier directorio en el host. No se requiere ningún archivo ancla existente. El vector secundario es el parámetro “name”: se une con “parentDir” a través de “filepath.Join(parentDir, name)” sin eliminar componentes de directorio, permitiendo el salto de ruta relativo a cualquier “parentDir” resuelto. Cualquier usuario autenticado (independientemente del rol o los permisos) puede explotar cualquiera de los vectores para leer cualquier archivo de texto legible por el proceso del servidor, incluyendo “/etc/p4ssd”, claves SSH, credenciales de base de datos y claves de firma JWT. La versión 1.4.3-beta corrige el problema.

Information

Published : 2026-07-20 15:16

Updated : 2026-10-24 20:10


NVD link : CVE-2026-54910

Mitre link : CVE-2026-54910

CVE.ORG link : CVE-2026-54910


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-23

Relative Path Traversal