Tilt: Cross-site WebSocket Hijacking Vulnerability (CVE-2026-55883)
An attacker can exploit CVE-2026-55883, a Cross-site WebSocket Hijacking vulnerability in Tilt versions 0.24.0 through 0.37.3, by acquiring an unauthenticated CSRF token or bypassing Origin header checks, to establish a WebSocket connection to a network-exposed Tilt HUD and exfiltrate sensitive developer session state, Tiltfile contents, and resource statuses.
A significant Cross-site WebSocket Hijacking (CSWSH) vulnerability, identified as CVE-2026-55883, affects Tilt, a popular developer tool for managing local Kubernetes development environments. This flaw impacts Tilt versions 0.24.0 through 0.37.3. The vulnerability stems from two issues: an unauthenticated endpoint (/api/websocket_token) that readily provides the websocketCSRFToken, and a WebSocket upgrader that accepts connections from clients omitting the Origin header. An attacker can combine these weaknesses to bypass intended security controls. If a Tilt HUD instance is configured to bind to a non-loopback address (e.g., 0.0.0.0) and is network-reachable on its default port (10350), an adversary can leverage this to open the HUD WebSocket stream and compromise sensitive developer data, including session state, Tiltfile contents, and real-time resource statuses, thereby undermining the integrity of the development environment.
Attack Chain
- Reconnaissance & Initial Access: An attacker identifies a vulnerable Tilt HUD instance (versions 0.24.0-0.37.3) that is configured to bind to a non-loopback address (e.g.,
0.0.0.0) and is network-reachable on its default port10350. - CSRF Token Acquisition: The attacker sends an unauthenticated HTTP GET request to the exposed Tilt instance's
/api/websocket_tokenendpoint. - Token Response: The vulnerable Tilt instance responds with the
websocketCSRFTokenintext/plainformat. - WebSocket Connection Initiation (Option 1 - CSRF Token): Using the obtained
websocketCSRFToken, the attacker crafts and sends a WebSocket upgrade request to/ws/view?csrf=<token>. - WebSocket Connection Initiation (Option 2 - Origin Bypass): Alternatively, the attacker sends a WebSocket upgrade request to
/ws/viewwhile intentionally omitting theOriginHTTP header, exploiting the server's fallback logic for same-origin checks. - Successful WebSocket Upgrade: The vulnerable Tilt instance accepts the WebSocket connection, establishing a communication channel with the attacker.
- Data Collection & Exfiltration: The attacker receives and exfiltrates a continuous stream of sensitive developer session data,
Tiltfilecontents, and real-time resource statuses over the established WebSocket connection.
Impact
Successful exploitation of CVE-2026-55883 allows an attacker to gain unauthorized access to critical information within a developer's environment. This includes sensitive intellectual property like Tiltfile contents (which can reveal build processes, dependencies, and configurations), real-time status updates of deployed applications, and potentially credentials or other session-related data if stored or reflected in the HUD stream. Organizations using Tilt in network-exposed configurations are at risk of data breaches, compromise of their development pipeline, and loss of confidential information, severely impacting development security and operational integrity.
Recommendation
- Upgrade Tilt to a patched version (0.37.4 or later) immediately to remediate CVE-2026-55883.
- Ensure all Tilt HUD instances are configured to bind exclusively to loopback addresses (e.g.,
127.0.0.1) by omitting the--hostflag or unsettingTILT_HOST, thereby restricting network reachability. - Deploy the "Detect Tilt WebSocket Token Request (CVE-2026-55883)" Sigma rule to your SIEM to identify attempts at acquiring the
websocketCSRFTokenvia/api/websocket_tokenin web server logs. - Deploy the "Detect Suspicious Tilt HUD WebSocket Connection (CVE-2026-55883)" Sigma rule to your SIEM to alert on WebSocket upgrade requests to
/ws/viewcontainingcsrfparameters, indicating potential exploitation attempts. - Monitor network activity for unusual inbound connections to TCP port
10350to identify potentially exposed or compromised Tilt HUD instances.
Detection coverage 3
Detect Tilt WebSocket Token Request (CVE-2026-55883)
mediumDetects CVE-2026-55883 exploitation — HTTP GET request to /api/websocket_token to acquire the CSRF token, indicating an attacker attempting to initiate WebSocket hijacking.
Detect Suspicious Tilt HUD WebSocket Connection (CVE-2026-55883)
highDetects CVE-2026-55883 exploitation — WebSocket upgrade request to /ws/view endpoint containing a 'csrf' query parameter, suggesting an attempt to hijack the Tilt HUD stream.
Detect Unusual Network Connections to Tilt HUD Port (CVE-2026-55883)
mediumDetects CVE-2026-55883 exploitation — Monitors for network connections to the default Tilt HUD port 10350 from unexpected source IPs, which could indicate a reconnaissance or exploitation attempt against an exposed Tilt instance.
Detection queries are available on the platform. Get full rules →