Skip to main content

Warp CVE-2026-48731

| EUVDEUVD-2026-39015 HIGH
OS Command Injection (CWE-78)
2026-06-24 GitHub_M
7.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Craft file path with embedded shell syntax
  2. Delivery
    Deliver file to victim (repo/archive/share)
  3. Exploit
    Victim opens it via Warp external editor
  4. Execution
    Exec template expanded and passed to shell
  5. Persist
    Embedded syntax executes as local user
  6. Impact
    Full code execution at user privilege

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

Requires the Warp external editor launcher on Linux to expand a freedesktop .desktop Exec template for an affected editor integration or the system-default editor route, and the victim must actively open an attacker-controlled local file path whose name/path contains shell metacharacters (UI:R). Limiting factors: exploitation is local only (AV:L) - the attacker must first get the malicious file path onto the victim's system and induce them to open it through the editor route; it does not work against versions outside 0.2024.02.20.08.01.stable_01-pre-0.2026.05.06.15.42.stable_01, is specific to Linux, and does not trigger automatically without the user opening the file. No elevated privileges are needed (PR:N); code runs at the victim's own privilege level.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, 7.8 High) is internally consistent with the description: exploitation is local (the attacker must get a crafted file path in front of the victim), low complexity, needs no prior privileges, but requires the victim to actively open the file (UI:R), yielding full confidentiality/integrity/availability impact as the local user. No EPSS score and no KEV listing were provided, and no exploit code was supplied - only the upstream fix commit - so real-world exploitation probability appears low and opportunistic rather than mass-automatable. SSVC-style reading: exploitation = none observed, automatable = no (requires per-victim social engineering / file delivery), technical impact = total. Net: a legitimately high-impact local code-execution bug, but the local vector plus required user interaction make it a moderate operational priority rather than an emergency, absent evidence of active exploitation. No conflicting signals were found in the supplied data; EPSS and POC status are simply absent.

Exploit ScenarioDerived

An attacker delivers a repository, archive, or shared folder containing a file whose name embeds shell syntax (for example a backtick or $() sequence). When the victim opens that file in Warp via an affected external/system-default editor on Linux, Warp expands it into a shell command line and the embedded syntax executes as the victim's user. No public POC was provided, but the local, low-complexity vector means a single user-interaction (opening the file) is sufficient to achieve code execution.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% 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 the Warp agentic development environment (Linux builds 0.2024.02.20.08.01.stable_01 through pre-0.2026.05.06.15.42.stable_01) lets an attacker run arbitrary shell commands as the local user when a victim opens a maliciously named file through an affected external or system-default editor route. Warp expanded freedesktop .desktop Exec templates and passed the result to a shell, so shell metacharacters embedded in a file path are interpreted rather than treated as data. There is no public exploit identified at time of analysis and the issue is not in CISA KEV; impact is high (CVSS 7.8) but requires local context and user interaction.

RemediationAI

Vendor-released patch: 0.2026.05.06.15.42.stable_01 - upgrade Warp on Linux to this release or later, which replaces shell-based Exec expansion with a spec-compliant tokenizer that runs the editor binary directly without a shell. Reference the advisory at https://github.com/warpdotdev/warp/security/advisories/GHSA-7xgc-mhc8-g7wc and the fix commit https://github.com/warpdotdev/warp/commit/861dacea2683f2fe263c3c3a1381c3cbb2b66809. Until patched, avoid opening files via the external editor or system-default editor route in Warp for any file whose name or path you did not create, and do not open files from untrusted archives, repositories, or shared directories where an attacker could control the path string (the trade-off is loss of the convenient editor-launch workflow). Where possible, configure a single trusted editor integration and treat unexpected file paths containing shell metacharacters (backticks, $(), ;, |, &) as suspect; this reduces but does not eliminate exposure, so prompt upgrade remains the only complete fix.

Affected VersionsENISA

WARP 0.2024.02.20.08.01.stable_01, < 0.2026.05.13.09.15.stable_01

Affected Packages

euvd warp_0_2024_02_20_08_01_stable_01 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

The flaw lives in Warp's Linux external editor launcher (app/src/util/file/external_editor/linux.rs). Freedesktop Desktop Entry files (.desktop) carry an Exec key with field codes such as %f/%u that should be substituted with file arguments and then executed as a tokenized argv. The vulnerable implementation instead string-substituted field codes and ran the assembled command via a shell (sh -c), so any shell syntax surviving into a file path was evaluated. This is a classic CWE-78 OS Command Injection caused by constructing a shell command line from untrusted input instead of executing the target program directly with a controlled argument vector. The fix (commit 861dacea) adds a spec-compliant tokenizer that parses quoting rules and expands field codes into discrete argv tokens, then executes the program directly without a shell, eliminating the shell-interpretation step. Affected product per CPE is cpe:2.3:a:warpdotdev:warp.

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 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local attacker-controlled file path (AV:L) with no prior privileges (PR:N) but mandatory victim action of opening the file (UI:R) yields code execution as the user, so C/I/A all High.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/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
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Jun 24, 2026 - 19:17 EUVD
CVE Published
Jun 24, 2026 - 17:30 cve.org
HIGH 7.8

DescriptionCVE.org

Warp is an agentic development environment. From 0.2024.02.20.08.01.stable_01 until 0.2026.05.06.15.42.stable_01, Warp contains a command injection issue in the Linux external editor launcher. Warp expanded freedesktop .desktop Exec templates for affected editor integrations and executed the expanded command through a shell. A user who opens an attacker-controlled local file path through an affected external editor or system-default editor route can cause shell syntax embedded in that path to execute as the local user. This vulnerability is fixed in 0.2026.05.06.15.42.stable_01.

Executive ViewAI

Why It Matters

Warp agentic development environment (Linux) contains a high-severity command injection vulnerability (CVSS 7.8) that enables attackers to execute arbitrary code on developer machines if users open maliciously named files. This directly threatens code integrity, intellectual property security, and enterprise infrastructure given developers' typical access to production systems and repositories. Immediate assessment and mitigation planning are required.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable external editor and system-default editor routes in Warp configuration; restrict file naming conventions in development directories to exclude shell metacharacters; implement file integrity monitoring on developer workstations; conduct security awareness training emphasizing risks of opening files from untrusted sources; isolate development environments using containerization or sandboxing to limit command execution scope.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Medium
popular modern developer terminal, sizable but not universal Linux footprint
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 0.5%
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
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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-48732 HIGH
8.8 Jun 24

Command injection in Warp's legacy SSH background command path lets an attacker-controlled remote host inject shell synt

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