CVE-2026-10054: CWE-1385 Missing origin validation in WebSockets in Eclipse Foundation Eclipse Theia
Eclipse Theia version 1.8.1 has a vulnerability in its WebSocket implementation where origin validation is missing or improperly enforced. This allows a malicious web page to connect to privileged terminal RPC services without proper authentication, potentially enabling remote command execution and data access. The vulnerability arises from fail-open origin checks and trust in a client-supplied header. A fix is in development to enforce strict origin validation and improve authentication.
AI Analysis
Technical Summary
CVE-2026-10054 affects Eclipse Theia 1.8.1 by exposing privileged terminal RPC over WebSocket endpoints without service-level authentication. The origin validation in the @theia/core WebSocket implementation is fail-open, accepting connections when the Origin header is missing or when no THEIA_HOSTS allowlist is configured (which is the default). Additionally, the Socket.IO integration replaces the real Origin header with a client-controlled fix-origin header, which can be manipulated or omitted by attackers. Consequently, a malicious web page visited by a user running Theia can open the /services WebSocket namespace, create terminals, attach to terminal data channels, execute arbitrary OS commands, and read their output. This affects both local developer setups and hosted or tunneled deployments lacking strong external authentication. A fix is under development 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 remotely execute arbitrary operating system commands and read their output by exploiting the lack of proper origin validation and authentication on WebSocket terminal services. This compromises confidentiality, integrity, and availability of the affected system. Both local and hosted deployments without strong external authentication are vulnerable.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. A fix is in development that will enforce strict same-origin validation, remove trust in the client-supplied fix-origin header, require a SameSite=Strict; HttpOnly connection-token cookie for access, and sanitize terminal creation options. Until a fix is released, users should apply strong external authentication controls and avoid exposing Theia instances to untrusted networks or browsers.
CVE-2026-10054: CWE-1385 Missing origin validation in WebSockets in Eclipse Foundation Eclipse Theia
Description
Eclipse Theia version 1.8.1 has a vulnerability in its WebSocket implementation where origin validation is missing or improperly enforced. This allows a malicious web page to connect to privileged terminal RPC services without proper authentication, potentially enabling remote command execution and data access. The vulnerability arises from fail-open origin checks and trust in a client-supplied header. A fix is in development to enforce strict origin validation and improve authentication.
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 1.8.1 by exposing privileged terminal RPC over WebSocket endpoints without service-level authentication. The origin validation in the @theia/core WebSocket implementation is fail-open, accepting connections when the Origin header is missing or when no THEIA_HOSTS allowlist is configured (which is the default). Additionally, the Socket.IO integration replaces the real Origin header with a client-controlled fix-origin header, which can be manipulated or omitted by attackers. Consequently, a malicious web page visited by a user running Theia can open the /services WebSocket namespace, create terminals, attach to terminal data channels, execute arbitrary OS commands, and read their output. This affects both local developer setups and hosted or tunneled deployments lacking strong external authentication. A fix is under development 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 remotely execute arbitrary operating system commands and read their output by exploiting the lack of proper origin validation and authentication on WebSocket terminal services. This compromises confidentiality, integrity, and availability of the affected system. Both local and hosted deployments without strong external authentication are vulnerable.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. A fix is in development that will enforce strict same-origin validation, remove trust in the client-supplied fix-origin header, require a SameSite=Strict; HttpOnly connection-token cookie for access, and sanitize terminal creation options. Until a fix is released, users should apply strong external authentication controls and avoid exposing Theia instances to untrusted networks or browsers.
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/03/2026, 11:06:30 UTC
Last updated: 07/03/2026, 11:27:07 UTC
Views: 5
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.