CVE-2026-12609

In Eclipse Theia versions 1.66.0 and up until including 1.73.1, the `@theia/plugin-ext` backend exposes the `/hostedPlugin/:pluginId/:path(*)` HTTP endpoint, which resolves the requested file path with `path.resolve(localPath, filePath)` without verifying that the resolved path stays within the plugin's directory. An unauthenticated network attacker can send percent-encoded `../` sequences (`%2e%2e%2f`) that decode into the path parameter and escape the plugin directory, allowing arbitrary files readable by the Theia backend process to be retrieved. Plugin IDs are derived deterministically from a plugin's publisher and name, so built-in plugins serve as reliable anchors that require no prior knowledge of the target system.
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 1.66.0 y hasta la 1.73.1 inclusive, el backend “@theia/plugin-ext” expone el endpoint HTTP “/hostedPlugin/:pluginId/:path(*)”, que resuelve la ruta de archivo solicitada con “path.resolve(localPath, filePath)” sin verificar que la ruta resuelta permanezca dentro del directorio del plugin. Un atacante de red no autenticado puede enviar secuencias “.. / ” codificadas en porcentaje (“%2e%2e%2f”) que se decodifican en el parámetro de ruta y escapan del directorio del plugin, permitiendo la recuperación de archivos arbitrarios legibles por el proceso de backend de Theia. Los ID de plugin se derivan de forma determinista del editor y el nombre de un plugin, por lo que los plugins integrados sirven como anclajes fiables que no requieren conocimiento previo del sistema objetivo.

Information

Published : 2026-08-05 11:16

Updated : 2026-10-23 21:10


NVD link : CVE-2026-12609

Mitre link : CVE-2026-12609

CVE.ORG link : CVE-2026-12609


JSON object : View

Products Affected

eclipse

  • theia
CWE
CWE-22

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