{"id":"GHSA-6m68-r693-78qx","revision":"f17076f93198402db1b01600ba7a37e7","records":[{"revision":"f17076f93198402db1b01600ba7a37e7","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-6m68-r693-78qx","aliases":["CVE-2026-55883","GO-2026-5181"],"title":"Tilt: Cross-site WebSocket hijacking of the Tilt HUD stream","description":"## 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.","state":0,"publishedAt":"2026-06-19T13:53:35+00:00","modifiedAt":"2026-07-21T14:00:36.1505417+00:00","affected":[{"ecosystem":"Go","name":"github.com/tilt-dev/tilt","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.24.0"},{"kind":"fixed","version":"0.37.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/tilt-dev/tilt/security/advisories/GHSA-6m68-r693-78qx","https://nvd.nist.gov/vuln/detail/CVE-2026-55883","https://github.com/tilt-dev/tilt/pull/6776","https://github.com/tilt-dev/tilt/commit/47393fba7f6ef5e305d5e814551feef8e4acbc0a","https://github.com/tilt-dev/tilt","https://github.com/tilt-dev/tilt/releases/tag/v0.37.4"],"sourceUrl":"https://github.com/advisories/GHSA-6m68-r693-78qx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-6m68-r693-78qx","identifiers":["GHSA-6m68-r693-78qx","CVE-2026-55883","GO-2026-5181"]},"retained":false,"historicalAffected":[]}],"coverage":[]}