{"id":"CVE-2026-55883","aliases":["CVE-2026-55883","GHSA-6m68-r693-78qx","GO-2026-5181"],"related":[],"kind":"vulnerability","state":"published","title":"Tilt: Cross-site WebSocket hijacking of the Tilt HUD stream","summary":"Tilt defines dev environments as code for microservice apps on Kubernetes. From 0.24.0 through 0.37.3, the Tilt HUD WebSocket at /ws/view is gated by a CSRF token, but the token is served by the unauthenticated /api/websocket_token endpoint and the upgrader accepts clients that omit an Origin header. When the HUD is network-exposed, an attacker who can reach the listener can open the HUD WebSocket and receive the full view stream, including session state, Tiltfile contents, resource statuses, and continued updates. This issue is fixed in version 0.37.4.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Tilt defines dev environments as code for microservice apps on Kubernetes. From 0.24.0 through 0.37.3, the Tilt HUD WebSocket at /ws/view is gated by a CSRF token, but the token is served by the unauthenticated /api/websocket_token endpoint and the upgrader accepts clients that omit an Origin header. When the HUD is network-exposed, an attacker who can reach the listener can open the HUD WebSocket and receive the full view stream, including session state, Tiltfile contents, resource statuses, and continued updates. This issue is fixed in version 0.37.4.","source":"cvelist"},{"lang":"en","text":"## Summary\nThe Tilt HUD WebSocket (`/ws/view`) is gated by a CSRF token, but the token is served by an unauthenticated endpoint and the upgrader accepts any client that omits an `Origin` header. When the HUD is network-exposed, an attacker can open the HUD stream and read the developer's session state.\n\n## Details\nThe upgrader accepts a connection when the `csrf` query parameter matches a process-wide token (`websocketCSRFToken`). That token is served as `text/plain` by an unauthenticated handler (`WebsocketToken`, mounted at `/api/websocket_token`), so any reachable caller can fetch it and connect to `/ws/view?csrf=<token>`. When the parameter does not match, the upgrader falls back to a same-origin check that returns true when the `Origin` header is absent, so a non-browser client that omits `Origin` is accepted anyway. The token has no per-session binding.\n\n## Impact\nAn attacker who can reach the HUD listener can open the HUD WebSocket and receive the full view stream — session state, Tiltfile contents, resource statuses, and continued updates — defeating the intended anti-CSWSH protection.\n\n### Conditions for exploitation\n- Affected version in `>= 0.24.0, <= 0.37.3`.\n- HUD bound to a non-loopback address (`tilt up --host 0.0.0.0`, or `TILT_HOST` set).\n- Network reachability to the listener (default port `10350`).\n\n### Not affected\n- The default loopback-only bind is not reachable from the network.\n\n## Workarounds\nUse the default loopback bind (omit `--host`, unset `TILT_HOST`). No complete workaround short of upgrading for non-loopback deployments.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Tilt: Cross-site WebSocket hijacking of the Tilt HUD stream in github.com/tilt-dev/tilt","format":"markdown","source":"go"},{"lang":"es","text":"Tilt define entornos de desarrollo como código para aplicaciones de microservicios en Kubernetes. Desde 0.24.0 hasta 0.37.3, el WebSocket HUD de Tilt en /ws/view está protegido por un token CSRF, pero el token es proporcionado por el endpoint /API/websocket_token no autenticado y el actualizador acepta clientes que omiten un encabezado Origin. Cuando el HUD está expuesto en la red, un atacante que puede alcanzar el oyente puede abrir el WebSocket HUD y recibir el flujo de vista completo, incluyendo el estado de la sesión, el contenido de Tiltfile, los estados de los recursos y las actualizaciones continuas. Este problema está solucionado en la versión 0.37.4.","source":"nvd"}],"published":"2026-06-19T13:53:35.000Z","modified":"2026-10-25T15:10:00.147Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","score":8.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-345"],"affected":[{"ranges":[{"version":">= 0.24.0, < 0.37.4","status":"affected"}],"vendor":"tilt-dev","product":"tilt","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.24.0","status":"affected","fixed":"0.37.4"}],"ecosystem":"Go","package":"github.com/tilt-dev/tilt","purl":"pkg:golang/github.com/tilt-dev/tilt","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.24.0","status":"affected","fixed":"0.37.4"}],"ecosystem":"Go","package":"github.com/tilt-dev/tilt","purl":"pkg:golang/github.com/tilt-dev/tilt","source":"go"}],"references":[{"url":"https://github.com/tilt-dev/tilt/security/advisories/GHSA-6m68-r693-78qx","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/tilt-dev/tilt/pull/6776","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/tilt-dev/tilt/commit/47393fba7f6ef5e305d5e814551feef8e4acbc0a","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/tilt-dev/tilt/releases/tag/v0.37.4","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55883","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/tilt-dev/tilt","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-14T14:14:38.038Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-55883","url":"https://www.cve.org/CVERecord?id=CVE-2026-55883","licence":"CVE Terms of Use","modified":"2026-07-14T14:14:47.863Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6m68-r693-78qx","url":"https://github.com/advisories/GHSA-6m68-r693-78qx","licence":"CC-BY-4.0","modified":"2026-07-21T14:00:36.150Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5181","url":"https://pkg.go.dev/vuln/GO-2026-5181","licence":"CC-BY-4.0","modified":"2026-06-25T19:45:12.743Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-55883","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55883","licence":"Public domain","modified":"2026-10-25T15:10:00.147Z"}],"updatedAt":"2026-11-25T22:59:27.706Z","epss":{"score":0.00222,"percentile":0.13668,"date":"2026-12-01T12:00:22.000Z"}}