CVE-2026-54686
Received Received - Intake
Terminal Lifecycle Hook Spoofing in Warp

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: GitHub, Inc.

Description
Warp is an agentic development environment. From 0.2021.04.25.23.05.stable_00 until 0.2026.05.06.15.42.stable_01, Warp accepted certain state-mutating terminal lifecycle hooks from the PTY stream without verifying that the hooks were emitted by Warp's shell integration for the active session. An attacker who could cause a victim to view attacker-controlled terminal output in Warp could spoof selected lifecycle metadata, including the current working directory reported for the active block or SSH session transport metadata. This vulnerability is fixed in 0.2026.05.06.15.42.stable_01.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-25
AI Q&A
2026-06-24
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
warp warp to 0.2026.05.06.15.42.stable_01 (inc)
warpdotdev warp to 0.2026.05.06.15.42.stable_01 (exc)
warpdotdev warp 0.2026.05.06.15.42.stable_01
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CWE-88 The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability affects Warp, an agentic development environment, in versions from 0.2021.04.25.23.05.stable_00 up to but not including 0.2026.05.06.15.42.stable_01. Warp accepted certain state-mutating terminal lifecycle hooks from the PTY stream without verifying that these hooks were actually emitted by Warp's shell integration for the active session.

An attacker who can cause a victim to view attacker-controlled terminal output in Warp could exploit this to spoof selected lifecycle metadata, such as the current working directory reported for the active block or SSH session transport metadata.

This means the attacker can manipulate some terminal state information displayed or used by Warp without proper verification, potentially misleading the user about the session's state.

Compliance Impact

The vulnerability allows an attacker to spoof terminal lifecycle metadata such as the current working directory or SSH session transport metadata by manipulating terminal output. However, it does not directly impact confidentiality or integrity, only potentially affecting availability.

Since the vulnerability does not lead to unauthorized disclosure or modification of sensitive data, it is unlikely to directly violate compliance requirements related to data privacy and protection standards such as GDPR or HIPAA.

Nevertheless, the ability to spoof session metadata could indirectly affect audit trails or session integrity, which might have implications for compliance depending on how Warp is used within an environment subject to such regulations.

Detection Guidance

This vulnerability involves Warp terminal accepting spoofed lifecycle hooks from the PTY stream without verifying their origin, which can be exploited by an attacker controlling terminal output. Detection involves identifying if your Warp terminal version is before v0.2026.05.06.15.42.stable_01, as these versions are vulnerable.

Since the issue is related to spoofed Device Control String (DCS) lifecycle hooks and session ID validation, direct detection on the network or system by commands is not straightforward. The vulnerability requires user interaction and manipulation of terminal output, so monitoring for suspicious terminal output or unexpected changes in reported current working directory or SSH session metadata might help.

No specific detection commands are provided in the available resources. The recommended mitigation is to update Warp to the patched version v0.2026.05.06.15.42.stable_01 or later.

Impact Analysis

The vulnerability allows an attacker to spoof lifecycle metadata in Warp's terminal environment, such as the current working directory or SSH session metadata.

This could lead to confusion or misinterpretation of the terminal session state by the user, potentially causing them to execute commands in an unexpected context or trust false session information.

However, the CVSS score indicates a moderate impact (Base Score 4.3) with no confidentiality or integrity loss, but some availability impact, meaning the vulnerability is unlikely to directly compromise data confidentiality or integrity but could affect availability or user trust.

Mitigation Strategies

To mitigate this vulnerability, update Warp to version 0.2026.05.06.15.42.stable_01 or later, where the issue has been fixed.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54686. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart