Skip to main content

Warp CVE-2026-48732

| EUVDEUVD-2026-39014 HIGH
OS Command Injection (CWE-78)
2026-06-24 GitHub_M
8.8
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI
8.8 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch available
Jun 24, 2026 - 19:17 EUVD
Source Code Evidence Fetched
Jun 24, 2026 - 18:18 vuln.today
Analysis Generated
Jun 24, 2026 - 18:18 vuln.today

DescriptionCVE.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.

More in Warp

View all
CVE-2022-3320 CRITICAL
9.8 Oct 28

It was possible to bypass policies configured for Zero Trust Secure Web Gateway by using warp-cli 'set-custom-endpoint'

CVE-2026-48704 HIGH
8.8 Jun 24

Arbitrary code execution in the Warp agentic development environment (builds 0.2023.10.24.08.03.stable_00 through 0.2026

CVE-2026-48720 HIGH
8.8 Jun 24

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

CVE-2022-3512 HIGH
8.8 Oct 28

Using warp-cli command "add-trusted-ssid", a user was able to disconnect WARP client and bypass the "Lock WARP switch" f

CVE-2026-48721 HIGH
8.6 Jun 24

Command-execution permission bypass in Warp's default unsandboxed CLI agent profile (versions 0.2025.10.08.08.12.stable_

CVE-2026-48719 HIGH
8.0 Jun 24

Command injection in Warp's prompt branch-selector chip lets a crafted Git branch name execute in the victim's shell whe

CVE-2026-48725 HIGH
8.1 Jun 24

Clipboard hijacking in the Warp agentic terminal (versions 0.2021.04.25.23.05.stable_00 through 0.2026.05.06.15.42.stabl

CVE-2026-48731 HIGH
7.8 Jun 24

Command injection in the Warp agentic development environment (Linux builds 0.2024.02.20.08.01.stable_01 through pre-0.2

CVE-2026-48703 HIGH
7.8 Jun 24

OS command injection in Warp's AI Agent code-search tooling allows attacker-controlled inputs to escape read-only search

CVE-2023-0652 HIGH
7.8 Apr 06

Due to a hardlink created in the ProgramData folder during the repair process of the software, the installer (MSI) of WA

CVE-2023-1412 HIGH
7.8 Apr 05

An unprivileged (non-admin) user can exploit an Improper Access Control vulnerability in the Cloudflare WARP Client for

CVE-2022-2225 HIGH
7.8 Jul 26

By using warp-cli subcommands (disable-ethernet, disable-wifi), it was possible for a user without admin privileges to b

Share

CVE-2026-48732 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy