CVE-2026-61891

In Eclipse Theia versions up to and including 1.73.1, the `@theia/filesystem` backend exposes HTTP file-download endpoints (`GET /file`, `GET /files/`, `PUT /files/`) that convert a client-supplied URI directly to a filesystem path and stream the file, without confining it to the workspace or any allow-listed root. In browser (non-Electron) deployments the connection token is enforced only on WebSocket upgrades; the HTTP middleware in `@theia/core` re-issues the cookie and calls `next()` without rejecting tokenless HTTP requests, so these endpoints are reachable without a valid token. As a result an unauthenticated client can read any file readable by the backend process, including files outside the opened workspace (for example `/etc/hosts`, SSH keys, or tokens). Electron mode uses a separate `ElectronSecurityToken` and is not affected via this path.
Configurations

Configuration 1 (hide)

cpe:2.3:a:eclipse:theia:*:*:*:*:*:*:*:*

History

23 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En las versiones de Eclipse Theia hasta la 1.73.1 inclusive, el backend “@theia/filesystem” expone puntos finales de descarga de archivos HTTP (’GET /file’, ’GET /files/’, ’PUT /files/’) que convierten una URI proporcionada por el cliente directamente en una ruta del sistema de archivos y transmiten el archivo, sin confinarlo al espacio de trabajo ni a ninguna raíz permitida. En despliegues de navegador (no Electron), el token de conexión se aplica solo en las actualizaciones de WebSocket; el middleware HTTP en “@theia/core” reemite la cookie y llama a “next()” sin rechazar las solicitudes HTTP sin token, por lo que estos puntos finales son accesibles sin un token válido. Como resultado, un cliente no autenticado puede leer cualquier archivo legible por el proceso de backend, incluyendo archivos fuera del espacio de trabajo abierto (por ejemplo, ’/etc/h0sts’, claves SSH o tokens). El modo Electron utiliza un “ElectronSecurityToken” separado y no se ve afectado por esta ruta.

Information

Published : 2026-08-05 12:18

Updated : 2026-10-24 16:10


NVD link : CVE-2026-61891

Mitre link : CVE-2026-61891

CVE.ORG link : CVE-2026-61891


JSON object : View

Products Affected

eclipse

  • theia
CWE
CWE-22

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

CWE-36

Absolute Path Traversal

CWE-200

Exposure of Sensitive Information to an Unauthorized Actor

CWE-306

Missing Authentication for Critical Function