Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 94%

CVE-2026-10054: CWE-1385 Missing origin validation in WebSockets in Eclipse Foundation Eclipse Theia

0
High
VulnerabilityCVE-2026-10054cvecve-2026-10054cwe-1385cwe-306
Published: 07/03/2026 (07/03/2026, 10:11:32 UTC)
Source: CVE Database V5
Vendor/Project: Eclipse Foundation
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
eclipse-theia/theia
pkg:github/eclipse-theia/theia
Affected versions
=1.8.1

Run 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

AILast updated: 07/11/2026, 08:51:49 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses