CVE-2026-10054 Details
Description
In affected versions of Eclipse Theia (1.8.1 and later), the browser backend exposes privileged terminal RPC over WebSocket (/services/shell-terminal, /services/terminals/:id) without service-level authentication. WebSocket origin validation in @theia/core is fail-open: connections are accepted when the Origin header is missing or when no THEIA_HOSTS allowlist is configured (the default). The Socket.IO integration additionally replaces the real Origin header with a client-supplied fix-origin header that an attacker can control or omit. As a result, a foreign-origin web page visited by a user with a running Theia instance can open the /services WebSocket namespace, invoke terminal creation, attach to the resulting terminal data channel, execute arbitrary OS commands, and read their output. This affects both local developer setups (drive-by attack) and hosted or tunneled deployments without strong external authentication. A fix is in development that enforces same-origin validation by default, removes trust in the fix-origin header, gates HTTP and WebSocket access on a SameSite=Strict; HttpOnly connection-token cookie, and sanitizes shell terminal creation options.
A vulnerability in Eclipse Theia versions 1.8.1 and later allows cross-origin WebSocket access to privileged terminal RPC services without proper authentication. This issue arises because the WebSocket origin validation in the '@theia/core' package is fail-open, accepting connections from foreign origins when the 'Origin' header is missing or when no 'THEIA_HOSTS' allowlist is configured, which is the default behavior. Exploitation of this vulnerability enables a foreign-origin web page to connect to the '/services/shell-terminal' channel, create a terminal, execute arbitrary operating system commands, and exfiltrate the output. This vulnerability affects both local development environments and hosted deployments without strong external authentication.
Users can update to Eclipse Theia version 1.73.0 or later, where this vulnerability has been patched. If the terminal service is not needed, it can be excluded from the Theia application build.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 3, 2026CISA-ADP
Assessed Jul 6, 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://github.com/eclipse-theia/theia/security/advisories/GHSA-78g8-vm3p-97c6 | [email protected] | AdvisoryRemedyVendor |
| https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/376 | [email protected] | ExploitTechnical AnalysisVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1385 | Missing Origin Validation in WebSockets | [email protected] |
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Eclipse Theia | >= 1.8.1 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 7, 2026 | CVE Modified | CISA-ADP |
| Jul 6, 2026 | CVE Modified | CISA-ADP |
| Jul 3, 2026 | New CVE Received | [email protected] |
Volerion