CVE-2026-12609 Details
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.
A path traversal vulnerability has been identified in Eclipse Theia versions 1.66.0 up to 1.73.1, within the '@theia/plugin-ext' backend. The vulnerability arises because the '/hostedPlugin/:pluginId/:path(*)' HTTP endpoint does not properly validate that requested file paths remain within the confines of the plugin's directory. This oversight allows unauthenticated network attackers to exploit percent-encoded '../' sequences to escape the plugin directory and access arbitrary files that the Theia backend process can read. The issue can be reproduced by sending a crafted request to the endpoint, which then returns the contents of the accessed file, such as '/etc/passwd'.
It is recommended to add a containment check after the path resolution to ensure that the resolved path does not escape the plugin directory. Alternatively, the 'localPath' can be used as the root option in 'res.sendFile()' to restrict the served path to within the designated directory.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| eclipse theia | >= 1.66.0, < 1.74.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 17, 2026 | CVE Modified | [email protected] |
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 7, 2026 | Initial Analysis | [email protected] |
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | New CVE Received | [email protected] |