Vulnerability · Published Jun 24, 2026 · Assigned by GitHub_M
CVE-2026-54686Warp: DCS lifecycle hook spoofing can alter terminal session metadata
Medium 4.3
In plain English
A medium-severity OS command injection in warp from warpdotdev. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| warpdotdev | warp | >= 0.2021.04.25.23.05.stable_00, < 0.2026.05.13.09.15.stable_01 |
Weakness: CWE-78, CWE-88 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L