CVE-2026-10054: CWE-1385 Missing origin validation in WebSockets in Eclipse Foundation Eclipse Theia
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.
AI Analysis
Technical Summary
CVE-2026-10054 affects Eclipse Theia (version 1.8.1 and later) where the browser backend exposes privileged terminal RPC over WebSocket endpoints (/services/shell-terminal, /services/terminals/:id) without service-level authentication. The WebSocket origin validation in the @theia/core module is fail-open, accepting connections if the Origin header is missing or if no THEIA_HOSTS allowlist is configured, which is the default setting. Additionally, the Socket.IO integration replaces the real Origin header with a client-supplied fix-origin header that can be controlled or omitted by an attacker. Consequently, a malicious web page from a foreign origin can open the WebSocket namespace, create terminals, attach to terminal data channels, execute arbitrary OS commands, and read their output. This vulnerability affects both local developer environments and hosted or tunneled deployments lacking strong external authentication. A fix is being developed to enforce same-origin validation by default, remove trust in the fix-origin header, require a SameSite=Strict; HttpOnly connection-token cookie for HTTP and WebSocket access, and sanitize shell terminal creation options.
Potential Impact
An attacker can exploit this vulnerability by hosting a malicious web page that, when visited by a user running a vulnerable Eclipse Theia instance, can open WebSocket connections to privileged terminal services. This allows the attacker to create terminals, execute arbitrary operating system commands, and read their output, leading to full confidentiality, integrity, and availability compromise of the affected system. Both local and hosted deployments without strong external authentication are at risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. A fix is in development that will enforce same-origin validation by default, remove reliance on the client-supplied fix-origin header, require HTTP and WebSocket access to be gated by a SameSite=Strict; HttpOnly connection-token cookie, and sanitize shell terminal creation options. Until a fix is released, users should apply strong external authentication controls and avoid exposing Theia instances to untrusted networks or users.
CVE-2026-10054: CWE-1385 Missing origin validation in WebSockets in Eclipse Foundation Eclipse Theia
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.
CVSS v3.1
Score 8.8high
Affected software
pkg:github/eclipse-theia/theiaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-10054 affects Eclipse Theia (version 1.8.1 and later) where the browser backend exposes privileged terminal RPC over WebSocket endpoints (/services/shell-terminal, /services/terminals/:id) without service-level authentication. The WebSocket origin validation in the @theia/core module is fail-open, accepting connections if the Origin header is missing or if no THEIA_HOSTS allowlist is configured, which is the default setting. Additionally, the Socket.IO integration replaces the real Origin header with a client-supplied fix-origin header that can be controlled or omitted by an attacker. Consequently, a malicious web page from a foreign origin can open the WebSocket namespace, create terminals, attach to terminal data channels, execute arbitrary OS commands, and read their output. This vulnerability affects both local developer environments and hosted or tunneled deployments lacking strong external authentication. A fix is being developed to enforce same-origin validation by default, remove trust in the fix-origin header, require a SameSite=Strict; HttpOnly connection-token cookie for HTTP and WebSocket access, and sanitize shell terminal creation options.
Potential Impact
An attacker can exploit this vulnerability by hosting a malicious web page that, when visited by a user running a vulnerable Eclipse Theia instance, can open WebSocket connections to privileged terminal services. This allows the attacker to create terminals, execute arbitrary operating system commands, and read their output, leading to full confidentiality, integrity, and availability compromise of the affected system. Both local and hosted deployments without strong external authentication are at risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. A fix is in development that will enforce same-origin validation by default, remove reliance on the client-supplied fix-origin header, require HTTP and WebSocket access to be gated by a SameSite=Strict; HttpOnly connection-token cookie, and sanitize shell terminal creation options. Until a fix is released, users should apply strong external authentication controls and avoid exposing Theia instances to untrusted networks or users.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- eclipse
- Date Reserved
- 2026-05-29T07:35:37.279Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a47944827e9c7971986ce1b
Added to database: 07/03/2026, 10:51:52 UTC
Last enriched: 07/11/2026, 08:51:49 UTC
Last updated: 08/17/2026, 00:41:09 UTC
Views: 110
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.