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.
Published: 2026-08-05
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Eclipse Theia backend exposes a /hostedPlugin endpoint that resolves requested paths using path.resolve without validating that the resolved path stays inside the plugin’s directory. An unauthenticated attacker can send percent‑encoded ../ sequences that decode to directory traversal characters, enabling the download of any file readable by the backend process. The weakness allows arbitrary file read and therefore a severe confidentiality breach. Its root cause is a path traversal flaw, identified as CWE-22.

Affected Systems

Eclipse Foundation’s Eclipse Theia, versions 1.66.0 through 1.73.1, are affected. Built‑in plugins provide deterministic identifiers that an attacker can target without prior system knowledge.

Risk and Exploitability

The CVSS score of 7.5 indicates a high‑severity vulnerability. Exploration score is not available, but the vulnerability is publicly exploitable via a simple crafted HTTP request, and it is not listed in CISA’s KEV catalog. An attacker can reach the vulnerable endpoint from any network location that can contact the Theia instance, so the likelihood of exploitation is high when no additional controls are in place.

Generated by OpenCVE AI on August 5, 2026 at 12:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest patch of Eclipse Theia, which removes the path traversal from the /hostedPlugin endpoint (any release after 1.73.1).
  • Configure firewall or reverse‑proxy rules to require authentication for all /hostedPlugin requests, blocking anonymous access from the network.
  • If upgrading is infeasible, disable the /hostedPlugin feature entirely or restrict it to trusted plugins only by modifying the Theia configuration.

Generated by OpenCVE AI on August 5, 2026 at 12:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Title Unauthenticated Path Traversal in Theia Hosted Plugin Endpoint

Wed, 05 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
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.
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: eclipse

Published:

Updated: 2026-08-05T10:55:42.736Z

Reserved: 2026-06-18T11:33:33.298Z

Link: CVE-2026-12609

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T12:30:12Z

Weaknesses
  • CWE-22

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