HIGH 8.8

CVE-2026-48720: Warp Terminal Arbitrary File Write via OSC 1337 Escape Sequence

Warp, an AI-assisted terminal and development environment, contains a critical file-handling vulnerability that allows attackers to write arbitrary files to a user's system by embedding specially crafted terminal escape sequences in command output. When a user runs a command that contains a malicious OSC 1337 File payload, Warp will silently decode and save the payload as a local file without prompting the user for confirmation. This affects versions from March 2025 through early May 2026, and has been patched in version 0.2026.05.06.15.42.stable_01.

Source data · NVD / CISA · public domain

CVSS
3.1 · 8.8 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses (CWE)
CWE-20, CWE-73
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.03.05.08.02.stable_00 until 0.2026.05.06.15.42.stable_01, Warp accepts non-inline `OSC 1337;File` payloads from terminal output and materialize the decoded payload as a local file without an additional confirmation step. 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

CVE-2026-48720 exploits Warp's handling of ANSI/xterm OSC 1337 File escape sequences. The OSC 1337 protocol is a legitimate mechanism for terminal applications to transfer files, but Warp's implementation fails to validate the source or intent of these payloads. An attacker who can control terminal output seen by a Warp user—whether through a compromised remote server, a malicious GitHub repository with crafted CI/CD output, or similar vectors—can inject non-inline OSC 1337;File sequences that Warp will automatically decode and materialize as files in the user's filesystem. The vulnerability stems from insufficient input validation (CWE-20) and improper file upload handling (CWE-73). The absence of a confirmation dialog or user notification means users remain unaware that files have been written.

Business impact

For development teams using Warp, this vulnerability presents a supply-chain risk. Developers who clone repositories with malicious CI/CD workflows, pull from compromised package registries, or SSH into untrusted systems could unknowingly have arbitrary code or configuration files written to their local machines. This could lead to credential harvesting, injection of backdoors into source code, replacement of legitimate binaries, or lateral movement to other systems on the developer's network. Organizations heavily invested in Warp as their standard development shell face elevated risk until patches are deployed.

Affected systems

Warp versions 0.2025.03.05.08.02.stable_00 through 0.2026.05.06.15.42.stable_00 are vulnerable. The patch is available in version 0.2026.05.06.15.42.stable_01 and later. This affects any user running Warp on macOS, Linux, or other supported platforms during the vulnerable window.

Exploitability

Exploitability is high. The attack requires only that a user interact with untrusted terminal output while Warp is running—a routine occurrence in development workflows. No special privileges, authentication, or complex interaction is needed beyond the user's normal terminal activity. The CVSS 3.1 score of 8.8 (HIGH) reflects network-reachable attack surface, low complexity, and the ability to achieve confidentiality, integrity, and availability impact. The vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities catalog, but the simplicity of the attack vector makes exploitation likely once the vulnerability gains wider awareness.

Remediation

Users must update Warp to version 0.2026.05.06.15.42.stable_01 or later. The update mechanism varies by platform; most users can trigger an update check within Warp's settings or allow automatic updates if enabled. Administrators should prioritize this update across development teams, as the vulnerability is trivial to exploit and affects routine developer workflows.

Patch guidance

Upgrade Warp to 0.2026.05.06.15.42.stable_01 or any subsequent release. Verify the version in Warp's about dialog (typically found in the application menu). For organizations using managed software distribution, push the update to all endpoints running Warp. If Warp is installed via package managers (Homebrew, apt, etc.), standard update procedures should retrieve the patched version. No configuration changes or workarounds are available for unpatched versions.

Detection guidance

Monitor for unexpected file creation in user home directories and project folders, particularly files with suspicious names or in unusual locations. Log access to terminal escape sequences and OSC protocol handlers if your terminal multiplexer or logging solution supports it. In security monitoring, look for evidence of file materialization without corresponding user file operations. Endpoint detection and response tools should flag unauthorized file writes originating from Warp processes. Additionally, review recent command history and SSH sessions to identify exposure to potentially compromised sources.

Why prioritize this

Despite not appearing on CISA's KEV list, this vulnerability merits urgent attention due to its intersection of high CVSS score, trivial exploitability, and deep integration into developer workflows. The attack surface is broad—any developer running Warp and interacting with untrusted remote output is at risk. The lack of user confirmation makes this especially dangerous in fast-paced development environments where users routinely pipe commands and scripts without scrutiny. Organizations should prioritize patching ahead of active exploitation.

Risk score, explained

The CVSS 3.1 score of 8.8 reflects: network-adjacent attack vector (AV:N), low attack complexity (AC:L), no privilege requirement (PR:N), and user interaction required (UI:R). The impact ratings are uniformly high: confidential data can be exfiltrated via written files, system integrity is compromised by arbitrary file creation, and availability can be affected by destructive file operations. The score appropriately captures the severity while acknowledging that user interaction (running a command or clicking a link) is a prerequisite.

Frequently asked questions

Can I be attacked if I'm not using Warp in an interactive shell?

No. The vulnerability requires Warp to be your active terminal environment processing the output. If you use a different shell (bash, zsh without Warp integration, etc.), you are not affected. However, if Warp is your primary terminal application, any command output you view—including piped commands, SSH sessions, or build tool output—is a potential attack vector.

Does updating Warp automatically protect me, or do I need to take additional steps?

Updating to version 0.2026.05.06.15.42.stable_01 or later is the primary mitigation. No additional configuration is required. If you suspect you've already been compromised through this vulnerability, conduct a forensic review of recent file creations and check for unexpected modifications in your home directory, project folders, and configuration directories.

What if my organization has disabled automatic updates for Warp?

Coordinate with your IT or security team to deploy the patched version as soon as possible through your software distribution mechanism. Given the severity and ease of exploitation, this should be treated as a critical update. Manual update instructions can be found in Warp's settings menu if self-service updates are unavailable.

Are there any workarounds for unpatched versions?

No reliable workaround exists. The vulnerability is architectural—it affects how Warp processes terminal output at a fundamental level. Your only mitigation is to avoid running untrusted commands or accessing untrusted remote systems until you can upgrade. Disabling Warp and reverting to a traditional shell is the only way to eliminate the risk prior to patching.

This analysis is provided for informational purposes based on publicly available vulnerability data and the vendor advisory. SEC.co does not conduct independent verification of all stated technical details. Organizations should consult official vendor documentation, advisories, and security bulletins before deploying patches or making security decisions. Version numbers and patch availability are accurate as of the source data publication date; verify against Warp's official release notes for the latest information. This write-up does not constitute legal or compliance advice. Source: NVD (public-domain), retrieved 2026-08-02. Analysis generated by SEC.co (claude-haiku-4-5).