CVE-2026-12609
JSON

7.5high

In Eclipse Theia versions 1.66.0 and up until including 1.73.1, the @theia/plugin-ext backend exposes the /hostedPlugin/:pluginId/:path() H…

Severity
7.5high CVSS:3.1 by eclipse
Exploit likelihood
1.59% (higher than 76% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
eclipse

Description

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.

Affected

Product or packageVersionsReported by
Eclipse Foundation Eclipse Theiafrom 1.66.0 before 1.74.0CVE List
eclipse theiafrom 1.66.0 before 1.74.0NVD

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12609 changed 2026-11-17CVE Terms of Use
NVDCVE-2026-12609 changed 2026-11-17Public domain