Theia WebSocket Origin Validation Bypass Enables Terminal Command Execution
CVE-2026-10054
Impact The Theia browser backend exposes privileged terminal RPC services over WebSocket (/services/shell-terminal, /services/terminals/:id) without service-level authentication or authorization. WebSocket origin validation in @theia/core is fail-open: connections are accepted when the Origin header is missing or when no THEIAHOSTS allowlist is configured (the default). Additionally, the Socket.IO integration replaces the trusted Origin header with a client-supplied fix-origin header, which an attacker can control or omit entirely. A foreign-origin webpage can exploit this to: 1. Connect to the /services WebSocket namespace from a cross-origin context 2. Open the shell-terminal RPC channel and invoke terminal creation 3. Connect to the resulting terminal data channel 4. Execute arbitrary commands and read their output This affects both local development setups (drive-by attack when a user visits a malicious page) and hosted/tunneled deployments where the backend WebSocket is reachable without strong external authentication. Any user running Theia's browser application is impacted, regardless of whether THEIAHOSTS is configured. Affected code paths:…
Assessment
- CVSS
- 8.8 (v3.1)
- Severity
- High
- EPSS
- 0.00159% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 3 December 2026
- Last updated
- 3 December 2026
- Affected
- @theia/core · @theia/terminal
- Weakness
- CWE-1385, CWE-306
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
At the source
References
- https://github.com/eclipse-theia/theia/security/advisories/GHSA-78g8-vm3p-97c6
- https://nvd.nist.gov/vuln/detail/CVE-2026-10054
- https://github.com/eclipse-theia/theia/commit/1635004f996d7a50fa7fb758563c29a63b900f2d
- https://github.com/eclipse-theia/theia/releases/tag/v1.73.0
- https://github.com/advisories/GHSA-78g8-vm3p-97c6
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-10054