{"id":"CVE-2026-10054","aliases":["CVE-2026-10054"],"related":[],"kind":"vulnerability","state":"published","title":"In affected versions of Eclipse Theia (1.8.1 and later), the browser backend exposes privileged terminal RPC over WebSocket (/services/shel…","summary":"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.\n\n\n\n\nWebSocket 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.\n\n\n\n\nAs 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.\n\n\n\n\nA 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\n\n\n\nWebSocket 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.\n\n\n\n\nAs 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.\n\n\n\n\nA 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.","source":"cvelist"},{"lang":"es","text":"En las versiones afectadas de Eclipse Theia (1.8.1 y posteriores), el backend del navegador expone RPC de terminal privilegiado a través de WebSocket (/services/shell-terminal, /services/terminals/:id) sin autenticación a nivel de servicio.\n\nLa validación de origen de WebSocket en @theia/core es de tipo ’fail-open’: se aceptan conexiones cuando falta el encabezado Origin o cuando no hay una lista blanca THEIA_HOSTS configurada (el valor predeterminado). La integración de Socket.IO además reemplaza el encabezado Origin real con un encabezado ’fix-origin’ proporcionado por el cliente que un atacante puede controlar u omitir.\n\nComo resultado, una página web de origen externo visitada por un usuario con una instancia de Theia en ejecución puede abrir el espacio de nombres WebSocket /services, invocar la creación de terminales, adjuntarse al canal de datos del terminal resultante, ejecutar comandos arbitrarios del sistema operativo y leer su salida. Esto afecta tanto a las configuraciones de desarrollador locales (ataque de paso) como a las implementaciones alojadas o tunelizadas sin una autenticación externa fuerte.\n\nSe está desarrollando una solución que aplica la validación de mismo origen por defecto, elimina la confianza en el encabezado ’fix-origin’, restringe el acceso HTTP y WebSocket mediante una cookie de token de conexión SameSite=Strict; HttpOnly, y sanea las opciones de creación de terminales de shell.","source":"nvd"}],"published":"2026-07-03T10:11:32.446Z","modified":"2026-10-25T21:10:00.770Z","severity":{"scorer":"eclipse","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"eclipse","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-306","CWE-1385"],"affected":[{"ranges":[{"type":"semver","introduced":"1.8.1","fixed":"1.73.0","status":"affected"}],"vendor":"Eclipse Foundation","product":"Eclipse Theia","source":"cvelist"}],"references":[{"url":"https://github.com/eclipse-theia/theia/security/advisories/GHSA-78g8-vm3p-97c6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/376","tags":[],"sources":["cvelist","nvd"]}],"credits":["Anwar Ayoob"],"assigner":"eclipse","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-06T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-10054","url":"https://www.cve.org/CVERecord?id=CVE-2026-10054","licence":"CVE Terms of Use","modified":"2026-07-07T03:56:07.775Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-10054","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10054","licence":"Public domain","modified":"2026-10-25T21:10:00.770Z"}],"updatedAt":"2026-11-25T22:59:27.088Z","epss":{"score":0.00159,"percentile":0.05354,"date":"2026-12-01T12:00:22.000Z"}}