CVE-2026-10054
HIGH 8.8CVSS 3.1Theia WebSocket Origin Validation Bypass Enables Terminal Command Execution
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.
- Published
- 3 Jul 2026
- Last modified
- 3 Dec 2026
- Assigned by
- emo@eclipse.org
- NVD status
- Deferred
- Weakness
- CWE-1385CWE-306
- Also known as
- GHSA-78g8-vm3p-97c6
- Sources
- NVDJSONOSV GHSA-78g8-vm3p-97c6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | emo@eclipse.org (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @theia/core | >= 1.8.1, < 1.73.0 | 1.73.0 |
| OSV | npm | @theia/terminal | >= 1.8.1, < 1.73.0 | 1.73.0 |
References
- https://github.com/eclipse-theia/theia/security/advisories/GHSA-78g8-vm3p-97c6 · WEB
- https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/376
- https://nvd.nist.gov/vuln/detail/CVE-2026-10054 · ADVISORY
- https://github.com/eclipse-theia/theia/commit/1635004f996d7a50fa7fb758563c29a63b900f2d · WEB
- https://github.com/eclipse-theia/theia · PACKAGE
- https://github.com/eclipse-theia/theia/releases/tag/v1.73.0 · WEB
History
- 3 Dec 2026 03:06 UTC · OSV: first stored (published 3 Dec 2026)
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 3 Jul 2026)