CVE-2026-10054

Published Jul 3, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Eclipse Theia browser backend exposes privileged terminal RPC endpoints over WebSocket without authentication, and the origin check is fail‑open. 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 channel, execute arbitrary OS commands, and read their output, effectively giving remote code execution on the host. This flaw manifests as CWE-1385 (Inadequate Origin Validation) and CWE-306 (Missing Authentication for Critical Functionality).

Affected Systems

Eclipse Foundation Eclipse Theia version 1.8.1 and later. The issue exists when the default configuration does not define a THEIA_HOSTS allowlist or lacks strong external authentication, including local developer setups and hosted or tunneled deployments that rely on default settings.

Risk and Exploitability

The CVSS score of 8.8 indicates a serious risk. The EPSS score of < 1% suggests a low current exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. Attackers can exploit the flaw by opening a WebSocket connection from an untrusted origin, bypassing the missing authentication and command‑execution controls, and executing arbitrary OS commands. Organizations that expose Theia to untrusted networks or use default configurations remain at significant risk until patched or mitigated.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official Eclipse Theia patch when it becomes available.
  • Configure a THEIA_HOSTS allowlist to restrict WebSocket connections to trusted origins only.
  • Enforce SameSite=Strict; HttpOnly on the connection-token cookie and consider blocking the vulnerable "/services/shell-terminal" and "/services/terminals/:id" endpoints with a reverse proxy or equivalent gateway.

Generated by OpenCVE AI on August 3, 2026 at 05:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Privileged Terminal RPC Exposed Over WebSocket Without Authentication
Type Values Removed Values Added
Title Privileged Terminal RPC Exposed Over WebSocket Without Authentication
Type Values Removed Values Added
Title WebSocket Terminal RPC Remote Code Execution in Eclipse Theia
Type Values Removed Values Added
Title WebSocket Terminal RPC Remote Code Execution in Eclipse Theia
Type Values Removed Values Added
Title Exposed Terminal RPC Over WebSocket Enables Remote Code Execution in Eclipse Theia
Type Values Removed Values Added
Title Exposed Terminal RPC Over WebSocket Enables Remote Code Execution in Eclipse Theia
Type Values Removed Values Added
Title Unauthenticated Terminal RPC Access via WebSocket in Eclipse Theia
Type Values Removed Values Added
Title Unauthenticated Terminal RPC Access via WebSocket in Eclipse Theia
Type Values Removed Values Added
Title Unauthenticated Remote Terminal Access via WebSocket in Eclipse Theia
Type Values Removed Values Added
Title Unauthenticated Remote Terminal Access via WebSocket in Eclipse Theia
Type Values Removed Values Added
Title Theia WebSocket Terminal Exposed Without Authentication
Type Values Removed Values Added
Title Theia WebSocket Terminal Exposed Without Authentication
Type Values Removed Values Added
Title Browser Backend Terminal RPC Exposes Remote Code Execution via WebSocket
Type Values Removed Values Added
Title Browser Backend Terminal RPC Exposes Remote Code Execution via WebSocket
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Unauthenticated Terminal Access Exploits Shell Command Execution in Eclipse Theia
Type Values Removed Values Added
Title Unauthenticated Terminal Access Exploits Shell Command Execution in Eclipse Theia
Type Values Removed Values Added
Title Theia Browser Backend Exposes Unauthenticated Terminal RPC Over WebSocket, Enabling Remote Code Execution
Type Values Removed Values Added
Title Theia Browser Backend Exposes Unauthenticated Terminal RPC Over WebSocket, Enabling Remote Code Execution
Type Values Removed Values Added
Title Unrestricted Terminal RPC Allowing Remote Code Execution in Eclipse Theia
Type Values Removed Values Added
Title Unrestricted Terminal RPC Allowing Remote Code Execution in Eclipse Theia
Type Values Removed Values Added
Title Exposed Privileged Terminal RPC via WebSocket Enables Remote Code Execution in Eclipse Theia
Type Values Removed Values Added
Title Exposed Privileged Terminal RPC via WebSocket Enables Remote Code Execution in Eclipse Theia
Type Values Removed Values Added
First Time appeared Eclipse
Eclipse theia
Vendors & Products Eclipse
Eclipse theia
Type Values Removed Values Added
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.
Weaknesses CWE-1385
CWE-306
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-1385

    Missing Origin Validation in WebSockets

  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Jul 7, 2026, 3:56 AM
Reserved
May 29, 2026, 7:35 AM
Status
Deferred
Published
Jul 3, 2026, 11:16 AM
Modified
Oct 25, 2026, 9:10 PM