CVE-2026-10054: Eclipse Theia - Remote Code Execution
- Cve: CVE-2026-10054
- Name: Eclipse Theia - Remote Code Execution
- 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.
- Impact: Attackers can execute arbitrary OS commands remotely, potentially leading to full system compromise.
- Remediation: Update to the fixed version once available or apply patches enforcing same-origin validation and authentication.
- Vulnerability type: remote_code_execution
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00219
- Epss percentile: 0.12454
- Assignee: [email protected]
- Published at: 2026-07-03T11:16:26Z
- Age in days: 144
- Modified at: 2026-10-25T21:10:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-10054
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-306 | Missing Authentication for Critical Functionality |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/eclipse-theia/theia/security/advisories/GHSA-78g8-vm3p-97c6 | nvd | |
| https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/376 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| eclipse:theia | >= 1.8.1, < 1.73.0 | no | cna_alias | /v1/products/eclipse/theia |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| eclipse-theia/theia | security_advisory | yes | /v1/repositories/eclipse-theia/theia |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 12
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports