CVE-2026-60009 Details
Description
In Eclipse Theia versions up to and including 1.73.1, the `@theia/filesystem` backend binds `POST /file-upload` in every filesystem-enabled deployment. The handler takes an attacker-supplied absolute path from the multipart `uri` field and calls `fs.move(tmp, target, { overwrite: true })` with no workspace confinement and no authentication. In browser (non-Electron) deployments the connection token is enforced only on WebSocket upgrades; the HTTP middleware in `@theia/core` re-issues the cookie and calls `next()` without rejecting tokenless HTTP requests. Because `multipart/form-data` is a CORS-safelisted request type, a cross-origin web page can trigger the write with no preflight and no credentials, resulting in an unauthenticated arbitrary file write outside the workspace to any absolute path the backend process can write. This can escalate to remote code execution, for example by overwriting a startup-executed file such as `~/.bashrc`. Electron mode uses a separate `ElectronSecurityToken` and is not affected via this path.
A vulnerability exists in Eclipse Theia versions prior to 1.74.0, specifically within the '@theia/filesystem' backend. The issue arises because the backend binds 'POST /file-upload' in every filesystem-enabled deployment. The handler accepts an absolute path supplied by the attacker through the multipart 'uri' field and executes 'fs.move(tmp, target, { overwrite: true })' without any workspace confinement or authentication. In browser (non-Electron) deployments, the connection token is only enforced on WebSocket upgrades. The HTTP middleware in '@theia/core' reissues the cookie and proceeds without rejecting tokenless HTTP requests. This vulnerability allows a cross-origin web page to trigger the file write without preflight or credentials, leading to an unauthenticated arbitrary file write outside the workspace to any absolute path the backend process can access. This arbitrary file write can escalate to remote code execution by overwriting a file executed at startup, such as '~/.bashrc'.
To address this vulnerability, the connection token should be enforced on all HTTP routes, not just WebSocket upgrades. Additionally, the '/file-upload' route should be confined to the workspace root, rejecting absolute paths outside an allowed root. Until patched, users can avoid exposing a browser-mode Theia backend to untrusted networks or running it where untrusted web pages may be visited in the same session.
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.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/595 | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/eclipse-theia/theia/security/advisories/GHSA-62f6-wcvg-54h3 | [email protected] | Broken Link |
| https://gitlab.eclipse.org/security/cve-assignment/-/work_items/177 | [email protected] | Vendor Advisory |
| https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/595 | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
| CWE-352 | Cross-Site Request Forgery (CSRF) | [email protected] |
| CWE-73 | External Control of File Name or Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| eclipse theia | < 1.74.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 7, 2026 | Initial Analysis | [email protected] |
| Aug 5, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2026 | New CVE Received | [email protected] |