Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure victim to malicious web page
-
DeliveryBrowser JS opens /services WebSocket with spoofed/omitted Origin
-
ExploitBypass fail-open origin validation via fix-origin header
-
ExecutionInvoke shell-terminal RPC creation
-
PersistAttach to terminal data channel
-
ImpactExecute arbitrary OS commands and read output
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Hardware safety mechanism
|
| Exploitation Conditions | Exploitation requires that the victim have a running Eclipse Theia browser-backend (1.8.1+) reachable from their browser AND that they visit an attacker-controlled web page while it is running - that user interaction (UI:R) is the primary prerequisite and the main limiting factor. No authentication is needed (PR:N/unauthenticated) and the default configuration is vulnerable because no THEIA_HOSTS allowlist is set, so the fail-open Origin check accepts connections with a missing Origin, and the Socket.IO fix-origin header lets an attacker override any real Origin value. What limits exploitation: the attacker must know or guess the Theia backend address/port and the victim must be actively running an instance; deployments that already set a strict THEIA_HOSTS allowlist AND sit behind authentication that the /services namespace enforces are not exposed in the same drive-by manner. There are no exotic feature flags required - the vulnerable path is the standard shell-terminal service in a default install. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H = 8.8) is internally consistent with the description: network-reachable, low complexity, no authentication (PR:N, so unauthenticated), but requiring the victim to visit an attacker-controlled page (UI:R) with full RCE impact across confidentiality, integrity, and availability. The dominant limiting signal is UI:R - this is a drive-by / social-engineering attack, not a self-propagating remote exploit, which is why it lands at 8.8 rather than a 9.8 pre-auth RCE. No EPSS score, KEV listing, or POC was provided: it is not on CISA KEV and no public exploit was identified at time of analysis, so exploitation is plausible-but-unproven. An SSVC read would be roughly Exploitation:none, Automatable:no (needs a victim to visit a page), Technical Impact:total - supporting a serious-but-not-emergency prioritization. The realistic risk is genuine because the default configuration is vulnerable (no THEIA_HOSTS allowlist) and the class of bug is well understood and reliably exploitable once a victim is lured; this is a real priority for anyone running Theia-based tooling, not an inflated high-CVSS-but-low-real-risk finding, though the absence of a shipped patch tempers immediate options. |
| Exploit ScenarioDerived | An attacker hosts a malicious web page containing JavaScript that opens a WebSocket to a developer's locally running Theia backend (e.g. ws://localhost:3000/services), omitting or spoofing the Origin/fix-origin header to pass the fail-open check. When a developer with a live Theia instance visits the page, the script invokes shell-terminal creation, attaches to the terminal data channel, runs arbitrary OS commands, and exfiltrates their output back to the attacker. No public exploit code was identified at time of analysis, but the attack is low-complexity and requires only that the victim load the page (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 03, 2026
Cross-site WebSocket hijacking in Eclipse Theia's browser backend (versions 1.8.1 and later) lets a foreign-origin web page reach the unauthenticated /services shell-terminal RPC namespace and execute arbitrary OS commands on the victim's host. The flaw stems from fail-open Origin validation in @theia/core combined with a client-controllable fix-origin header, so simply luring a developer running Theia to a malicious site yields remote code execution. There is no public exploit identified at time of analysis, and CVSS is rated 8.8 (High) driven by the user-interaction-only barrier.
RemediationAI
No vendor-released patch identified at time of analysis - the advisory states a fix is in development that will enforce same-origin validation by default, remove trust in the fix-origin header, gate HTTP and WebSocket access on a SameSite=Strict; HttpOnly connection-token cookie, and sanitize shell terminal creation options; monitor GHSA-78g8-vm3p-97c6 (https://github.com/eclipse-theia/theia/security/advisories/GHSA-78g8-vm3p-97c6) for the patched release and upgrade as soon as it ships. Until then, set the THEIA_HOSTS environment variable to an explicit allowlist of expected hostnames to convert the fail-open Origin check into a deny-by-default control (trade-off: you must enumerate and maintain every legitimate host, and misconfiguration can lock out real users). Place Theia behind an authenticating reverse proxy or VPN so the /services WebSocket namespace is never reachable from an unauthenticated browser context, and for local developer setups bind Theia to localhost only and avoid browsing untrusted sites while an instance is running (trade-off: reverse-proxy auth adds operational overhead and does not by itself stop a same-machine drive-by unless it also enforces per-request tokens). Note that Origin allowlisting alone is weakened by the client-controllable fix-origin header, so combine it with network-level access restrictions rather than relying on it in isolation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Eclipse Theia is a framework for building cloud and desktop IDEs (the foundation for products like Eclipse Che and various hosted developer workspaces), running a Node.js browser-backend that exposes JSON-RPC services to the frontend over Socket.IO/WebSocket. The affected endpoints (/services/shell-terminal and /services/terminals/:id) provide privileged pseudo-terminal creation and data streaming but carry no service-level authentication, relying instead on Origin checks. This is a textbook CWE-1385 (Missing Origin Validation in WebSockets / Cross-Site WebSocket Hijacking): browsers do not apply Same-Origin Policy or CORS preflight to WebSocket handshakes, so any origin can open a socket unless the server explicitly validates the Origin header. Theia's validation is fail-open - it accepts connections when Origin is absent or when no THEIA_HOSTS allowlist is set (the default) - and the Socket.IO layer worsens this by substituting the real Origin with an attacker-supplied fix-origin header. The single affected CPE is cpe:2.3:a:eclipse_foundation:eclipse_theia:*, covering all 1.8.1+ builds.
Know when Eclipse Theia gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Network-reachable unauthenticated (PR:N) cross-site WebSocket hijack yielding OS command execution (C/I/A:H), but requires the victim to visit a malicious page, so UI:R and scope unchanged.
Primary rating from Vendor (eclipse).
CVSS VectorVendor: eclipse
Lifecycle Timeline
1DescriptionCVE.org
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.
Executive ViewAI
Eclipse Theia versions 1.8.1 and later contain a cross-site WebSocket hijacking vulnerability enabling unauthenticated remote code execution on developer machines when they visit malicious websites. This directly threatens source code integrity, secrets exposure, and downstream supply chain security, with no public exploit identified at time of analysis.
No vendor-released patch identified at time of analysis. Interim mitigations: disable or restrict shell-terminal RPC endpoint access; confine Theia to trusted networks with firewall rules; prohibit access to untrusted external websites from Theia systems; implement network monitoring for anomalous WebSocket activity; enforce VPN requirement for Theia access; monitor WebSocket namespace access logs for suspicious patterns.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Eclipse Theia
View allPath traversal in Eclipse Theia 1.73.0-1.74.x AI Agent Mode allows arbitrary file writes outside the workspace with back
Server-side request forgery in Eclipse Theia (version 1.26.0 and later) lets a low-privileged user connected to the /ser
Remote code execution in Eclipse Theia 1.69.0 and earlier allows an attacker to execute arbitrary commands with the vict
Arbitrary command execution in Eclipse Theia versions prior to 1.69.0 allows a malicious repository to run host commands
Indirect prompt injection in Eclipse Theia before 1.71.0 allows a malicious repository to automatically override the AI
Indirect prompt injection in Eclipse Theia versions prior to 1.71.0 allows attackers who control a workspace's filesyste
Unauthenticated arbitrary file read in Eclipse Theia browser-mode deployments (versions ≤1.73.1) allows any network clie
Unconstrained Markdown image rendering in Eclipse Theia's AI chat component, in all versions prior to 1.71.0, enables si
EUVD-2026-41529
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB