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.

Remediation

No solution or workaround provided in the CVE record

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

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