Skip to main content
VulnerabilityPublished

CVE-2026-10054: Core · Theia WebSocket Origin Validation Bypass Enables Terminal Command Execution

Affects @theia/coreSource GCVE Database

0
Compare
Authoritative record:CVE-2026-10054· High 8.8

Not known to be exploited · CVSS 8.8 High : upgrade to 1.73.0 soon.

Data as of 3 Dec 2026, 02:49 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npm@theia/coreAffected
  • >=1.8.1 <1.73.0
Fixed in
  • 1.73.0
npm@theia/terminalAffected
  • >=1.8.1 <1.73.0
Fixed in
  • 1.73.0

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

Community reviews

Loading reviews…