CVE-2026-10054: Core · Theia WebSocket Origin Validation Bypass Enables Terminal Command Execution
Affects @theia/coreSource GCVE Database
Not known to be exploited · CVSS 8.8 High : upgrade to 1.73.0 soon.
Data as of 3 Dec 2026, 02:49 UTC
- Patch
- Available – fixed in 1.73.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade @theia/core and @theia/terminal to 1.73.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@theia/core | Affected
| Fixed in
|
| npm@theia/terminal | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in Theia version 1.73.0; upgrading to this version or later fully mitigates the vulnerability. As workarounds, configure the THEIA_HOSTS environment variable to a strict allowlist of expected host:port values to reduce the attack surface, though this alone does not fully mitigate the issue due to the fix-origin header override. Additionally, do not expose the Theia backend to untrusted networks; use a reverse proxy with proper authentication in front of the WebSocket endpoint. If terminal functionality is not required, exclude the @theia/terminal package from the Theia application build.
Description
CVE-2026-10054 is a high-severity vulnerability in the Theia browser backend that allows bypassing WebSocket origin validation, enabling remote command execution via the terminal service. The vulnerability arises because the backend exposes privileged terminal RPC services over WebSocket without authentication or authorization, and the origin validation is fail-open when the Origin header is missing or THEIA_HOSTS is not configured. Additionally, the Socket.IO integration replaces the trusted Origin header with a client-controlled fix-origin header, which attackers can manipulate. This allows a malicious webpage to connect cross-origin, create terminals, execute arbitrary commands, and read their output. The issue affects local and hosted deployments and impacts all users running Theia's browser application regardless of THEIA_HOSTS configuration. A fix is available in version 1.73.0.
References
- github.com/eclipse-theia/theia/security/advisories/GHSA-78g8-vm3p-97c6 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-10054 (opens in a new tab)
- github.com/eclipse-theia/theia/commit/1635004f996d7a50fa7fb758563c29a63b900f2d (opens in a new tab)
- github.com/eclipse-theia/theia (opens in a new tab)
- github.com/eclipse-theia/theia/releases/tag/v1.73.0 (opens in a new tab)