HIGH 8.0

CVE-2026-48719: Warp Branch Selector Command Injection Vulnerability

Warp, a development environment designed to support agentic workflows, contains a command injection vulnerability in how it handles Git branch names. An attacker who can push a malicious branch to a repository can craft a branch name containing shell commands. When a developer using Warp selects that branch from the UI, the crafted commands execute in the victim's shell with their privileges. This requires the attacker to have push access to the repository and the victim to interact with the malicious branch through Warp's interface.

Source data · NVD / CISA · public domain

CVSS
3.1 · 8.0 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weaknesses (CWE)
CWE-78
Affected products
0 configuration(s)
Published / Modified
2026-06-24 / 2026-06-25

NVD description (verbatim)

Warp is an agentic development environment. From 0.2025.08.06.08.12.stable_00 until 0.2026.05.06.15.42.stable_01, Warp contains a command injection in the prompt branch selector. A user who can publish a branch to a Git repository opened in Warp can cause a crafted branch name to be interpreted by the victim's shell if the victim selects that branch from the UI. This vulnerability is fixed in 0.2026.05.06.15.42.stable_01.

2 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability exists in Warp versions 0.2025.08.06.08.12.stable_00 through 0.2026.05.06.15.42.stable_01 and stems from insufficient sanitization of Git branch names in the prompt branch selector. When a user selects a branch via the UI, the branch name is passed to the shell without proper escaping or validation, allowing arbitrary command execution. The attack vector is network-based (N), requires low attack complexity (L), necessitates logon privileges (PR:L), and depends on user interaction (UI:R). The impact is confined to the affected system (S:U) but grants high confidentiality, integrity, and availability impact (C:H/I:H/A:H). This is classified as CWE-78 (Operating System Command Injection).

Business impact

Successful exploitation can lead to full compromise of a developer's workstation, including theft of source code, credentials, SSH keys, and other sensitive data stored locally. In team environments, a single malicious branch pushed to a shared repository could compromise multiple developers. This is particularly concerning for organizations where developers use Warp as their primary development environment and work with repositories accessible to both internal and external collaborators. The integrity of development workflows and code authenticity may be compromised.

Affected systems

Warp versions from 0.2025.08.06.08.12.stable_00 through 0.2026.05.06.15.42.stable_01 are affected. The fixed version is 0.2026.05.06.15.42.stable_01 or later. Organizations using Warp for development should verify their installed version against the Warp release notes and vendor advisory.

Exploitability

Exploitability requires two conditions: the attacker must have push access to a Git repository (or collaborator trust), and the victim must manually select the malicious branch from Warp's UI. This is not a remote unauthenticated attack; it depends on repository access and user interaction. However, in open-source projects or repositories with broad collaborator access, an attacker could introduce the malicious branch with minimal friction. Once triggered, command execution occurs with the victim's shell privileges, making the impact severe.

Remediation

Update Warp to version 0.2026.05.06.15.42.stable_01 or later. Verify the update through Warp's settings or release channels. No workarounds are available; patching is the primary mitigation. Organizations should also review Git repository access controls to limit who can push branches, and consider security awareness training on the risks of selecting branches from untrusted sources.

Patch guidance

Apply the Warp update to version 0.2026.05.06.15.42.stable_01 or later. Users can check their current version in Warp's About or Settings menu. Most users should receive the update automatically if auto-update is enabled; manual installation may be required otherwise. Verify the update is successful by checking the version number matches the patched release. Test branch selection functionality to ensure normal operation after patching.

Detection guidance

Monitor for unusual shell command execution originating from Warp processes, particularly commands that differ from normal development workflows. Inspect Git push logs for branch names containing special characters, escape sequences, or suspicious payloads (e.g., $(…), `…`, ;, |, &). Endpoint detection and response (EDR) tools should flag unexpected child processes spawned by Warp. Code review practices should scrutinize branch names in pull requests from external contributors for suspicious patterns.

Why prioritize this

This vulnerability scores CVSS 8.0 (HIGH) and warrants immediate attention in environments where Warp is actively used for development. The combination of high impact (full system compromise), network accessibility, and relatively low barrier to exploitation (requires only push access and user interaction) makes it a significant risk. Organizations using Warp in collaborative or open-source contexts should prioritize patching. However, it does not affect users who have not yet updated to the vulnerable version range or those using older, pre-vulnerability releases.

Risk score, explained

The CVSS 3.1 score of 8.0 reflects high severity: the attack requires network access and low complexity, but depends on authenticated push privileges and user interaction. The impact is severe across all three dimensions (confidentiality, integrity, availability), warranting a HIGH rating. The score does not account for organizational factors such as repository access policies or Warp adoption rates; security teams should contextualize this score against their own environment.

Frequently asked questions

Do I need to update immediately if our team uses Warp?

Yes. If your team uses Warp in collaborative development environments (especially those accepting contributions from external parties), update to 0.2026.05.06.15.42.stable_01 or later as soon as possible. The risk is highest in open-source or shared repository settings where branch creation is less restricted.

What if someone in our repository pushes a malicious branch?

If your team uses a vulnerable version of Warp, do not select that branch from the Warp UI. Instead, use git command-line tools to inspect the branch safely, or use a code review tool to examine the branch contents before opening it in Warp. After patching, you can safely select branches without concern.

Can this vulnerability affect users of other Git clients or IDEs?

No. This vulnerability is specific to Warp's branch selector UI. Users of VS Code, GitKraken, command-line Git, or other development tools are not affected. Only Warp users working with versions prior to 0.2026.05.06.15.42.stable_01 are at risk.

Is there a way to block this attack without patching Warp?

Partial mitigation is possible by restricting who can push to your repositories (e.g., via branch protection rules, CODEOWNERS, or access control lists), but this does not eliminate risk from trusted collaborators. The most reliable protection is patching Warp to the fixed version.

This analysis is provided for informational purposes and based on the vendor advisory and CVE data available as of the publication date. Security teams should verify patch availability and applicability to their specific Warp deployment. Exploit code or active weaponization details are not included in this advisory. Organizations should assess their own risk based on Warp adoption, repository access controls, and development practices. Consult Warp's official security advisories and release notes for the most current patch information and deployment guidance. Source: NVD (public-domain), retrieved 2026-08-02. Analysis generated by SEC.co (claude-haiku-4-5).