Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker controls remote SSH host or directory naming
-
DeliveryPlant malicious directory/repo name with embedded quote
-
ExploitVictim opens SSH-backed Warp session
-
ExecutionWarp builds cd/cat helper with unescaped path
-
PersistQuote breakout injects shell syntax
-
ImpactCommands execute as victim's SSH account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to use Warp's legacy SSH background command path for remote metadata collection against a host where the attacker controls the reported remote working directory, repository, or directory name, and that name must contain shell-breakout characters such as a single quote (e.g. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H yields 8.8 (High): network reachable, low complexity, no attacker privileges, but user interaction is required because the victim must connect Warp to a remote host whose directory/repo names the attacker influences. There is an important nuance the raw score hides - the injected command executes on the remote host as the victim's already-authenticated SSH account, so the practical impact is privilege misuse/lateral movement within sessions the victim was already entering, not a fresh foothold on the victim's local workstation; security teams should weigh that scoping. No EPSS or KEV data was provided, and no public exploit was identified, so this is a real-but-conditional priority rather than mass-exploitation: it requires the victim to operate the legacy SSH path against an attacker-controlled or compromised host. SSVC framing: exploitation = none observed, automatable = no (requires victim-initiated SSH connection), technical impact = total on the targeted remote account. |
| Exploit ScenarioDerived | An attacker who controls a remote host (or can influence directory/repository names on a host the victim accesses) names a working directory something like |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
Command injection in Warp's legacy SSH background command path lets an attacker-controlled remote host inject shell syntax that runs as the victim's authenticated SSH account. Affecting Warp from 0.2023.03.21.08.02.stable_00 up to (but not including) 0.2026.05.06.15.42.stable_01, the flaw stems from the terminal trusting the remote working directory, repository, or directory name reported by an SSH session when assembling helper commands for metadata collection. No public exploit identified at time of analysis, though the fix commit ships regression tests that demonstrate the breakout; not listed in CISA KEV and no EPSS provided.
RemediationAI
Vendor-released patch: 0.2026.05.06.15.42.stable_01 - upgrade Warp to this version or later, which adds shell-aware single-quote escaping (shell_escape_single_quotes) around remote paths. There is no documented in-product configuration flag to fully disable the legacy SSH metadata-collection path, so the upgrade is the authoritative fix; as interim compensating controls, avoid using Warp's SSH integration to connect to untrusted or attacker-influenced hosts and avoid navigating into or cloning repositories with unusual directory names (e.g. containing single quotes or shell metacharacters) during SSH sessions, accepting the trade-off that this curtails normal remote-workflow convenience. Review the advisory (https://github.com/warpdotdev/warp/security/advisories/GHSA-qqpc-wvvw-4269) and commit (https://github.com/warpdotdev/warp/commit/88c344e2de662a935f0ef0896458494ef2413add) for exact behavior; do not rely on directory-name hygiene as a durable control since enforcement is hard to guarantee on remote hosts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Warp is an agentic, Rust-based terminal/development environment. The bug lives in its remote command executor (app/src/terminal/model/session/command_executor/remote_command_executor.rs) and history reader (session.rs), which build helper shell commands such as cd '{current_directory_path}' && ... and cat {history_file} for SSH-backed metadata collection. Because the working-directory/history-file path was interpolated into a single-quoted shell string without escaping, an embedded single quote closes the quote and lets following characters be parsed as shell syntax - the classic CWE-78 OS Command Injection root cause. The fix introduces shell_escape_single_quotes() (shell-aware for Bash, Zsh, Fish, PowerShell) so embedded quotes are neutralized as literal text. Per CPE cpe:2.3:a:warpdotdev:warp:*, all platform builds of the Warp app in the affected range are in scope.
Know when Warp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Network-reachable and low-complexity with no attacker privileges, but the victim must connect an SSH session (UI:R); injected commands run with full read/write/destructive capability as the victim's remote account.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
Warp is an agentic development environment. From 0.2023.03.21.08.02.stable_00 until 0.2026.05.06.15.42.stable_01, Warp contains a command injection issue in the legacy SSH background command path. Warp used the remote working directory reported by the session when building helper commands for SSH-backed metadata collection. A remote host, repository, or directory name controlled by an attacker could cause that helper command to execute additional shell syntax on the remote host as the victim's authenticated SSH account. This vulnerability is fixed in 0.2026.05.06.15.42.stable_01.
Executive ViewAI
Warp SSH terminal users face command injection attacks when connecting to attacker-controlled servers, enabling unauthorized command execution under their authenticated credentials with CVSS 8.8 severity. This directly impacts developers and system administrators who depend on Warp for secure shell access, creating lateral movement and data theft risk across connected systems. Vendor patch 0.2026.05.06.15.42.stable_01 is available; immediate deployment across all deployments is required.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
It was possible to bypass policies configured for Zero Trust Secure Web Gateway by using warp-cli 'set-custom-endpoint'
Arbitrary code execution in the Warp agentic development environment (builds 0.2023.10.24.08.03.stable_00 through 0.2026
Arbitrary local file write in Warp terminal (0.2025.03.05.08.02.stable_00 through builds before 0.2026.05.06.15.42.stabl
Using warp-cli command "add-trusted-ssid", a user was able to disconnect WARP client and bypass the "Lock WARP switch" f
Command-execution permission bypass in Warp's default unsandboxed CLI agent profile (versions 0.2025.10.08.08.12.stable_
Command injection in Warp's prompt branch-selector chip lets a crafted Git branch name execute in the victim's shell whe
Clipboard hijacking in the Warp agentic terminal (versions 0.2021.04.25.23.05.stable_00 through 0.2026.05.06.15.42.stabl
Command injection in the Warp agentic development environment (Linux builds 0.2024.02.20.08.01.stable_01 through pre-0.2
OS command injection in Warp's AI Agent code-search tooling allows attacker-controlled inputs to escape read-only search
Due to a hardlink created in the ProgramData folder during the repair process of the software, the installer (MSI) of WA
An unprivileged (non-admin) user can exploit an Improper Access Control vulnerability in the Cloudflare WARP Client for
By using warp-cli subcommands (disable-ethernet, disable-wifi), it was possible for a user without admin privileges to b
EUVD-2026-39014
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB