CVE-2026-48721 Warp: Env-var prefixes can lead to denylisted command autoexecution

High 8.6 Published Updated

Attackers can bypass command denylists in Warp's CLI agent by using environment variable prefixes, leading to unauthorized command execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-48721?

CVE-2026-48721 is a high-severity vulnerability in warpdotdev warp, published on 24 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Warp is an agentic development environment. From 0.2025.10.08.08.12.stable_00 until 0.2026.05.06.15.42.stable_01, Warp contains a command execution permission-check bypass in the default unsandboxed CLI agent profile. The CLI profile is non-interactive and relies on a command denylist as a safety boundary for commands that should require confirmation. Because command strings were checked before canonicalizing leading environment-variable assignments, an attacker who can influence the agent's command output may cause denylisted commands to be treated as non-denylisted. This vulnerability is fixed in 0.2026.05.06.15.42.stable_01.

Weakness: CWE-693, CWE-180

Which versions are affected by CVE-2026-48721?

How do I fix CVE-2026-48721?

No fix has been published for CVE-2026-48721 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-48721 being exploited?

There is no known exploitation of CVE-2026-48721 in the wild and no public exploit code.

Sources

Also known as GHSA-3839-h8jj-ph82.

Is CVE-2026-48721 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free