CVE-2026-48731: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in warpdotdev warp
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.
AI Analysis
Technical Summary
Warp versions from 0.2024.02.20.08.01.stable_01 through 0.2026.05.06.15.42.stable_01 contain an OS command injection vulnerability (CWE-78) in the Linux external editor launcher. Warp expands freedesktop .desktop Exec templates for editor integrations and executes the expanded command via a shell, allowing shell syntax embedded in attacker-controlled local file paths to be executed as the local user. This enables an attacker to execute arbitrary commands with the privileges of the user opening the file. The vulnerability is fixed starting with version 0.2026.05.06.15.42.stable_01.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary shell commands on the local system with the privileges of the user opening the malicious file path. This can lead to full compromise of the user's environment, including confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Upgrade Warp to version 0.2026.05.06.15.42.stable_01 or later where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Until upgrading, avoid opening untrusted local file paths through the affected external or system-default editor routes to reduce risk.
CVE-2026-48731: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in warpdotdev warp
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.
CVSS v3.1
Score 7.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Warp versions from 0.2024.02.20.08.01.stable_01 through 0.2026.05.06.15.42.stable_01 contain an OS command injection vulnerability (CWE-78) in the Linux external editor launcher. Warp expands freedesktop .desktop Exec templates for editor integrations and executes the expanded command via a shell, allowing shell syntax embedded in attacker-controlled local file paths to be executed as the local user. This enables an attacker to execute arbitrary commands with the privileges of the user opening the file. The vulnerability is fixed starting with version 0.2026.05.06.15.42.stable_01.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary shell commands on the local system with the privileges of the user opening the malicious file path. This can lead to full compromise of the user's environment, including confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:H/I:H/A:H).
Mitigation Recommendations
Upgrade Warp to version 0.2026.05.06.15.42.stable_01 or later where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Until upgrading, avoid opening untrusted local file paths through the affected external or system-default editor routes to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-22T19:10:35.745Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3c19c6eed863c81e39514e
Added to database: 06/24/2026, 17:54:14 UTC
Last enriched: 06/24/2026, 18:09:26 UTC
Last updated: 06/24/2026, 19:05:15 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.