CVEvulnerability
CVE-2026-12609
7.5 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2026-08-05
- Last modified
- 2026-10-23
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
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 configurations
• eclipse theia (>= 1.66.0 < 1.74.0)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/eclipse-theia/theia/security/advisories/GHSA-qmm6-p8q4-2g48 Broken Link
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/133 Vendor Advisory
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/524 Issue Tracking, Mitigation, Vendor Advisory