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
3DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39014