Top/Articles/Warp Terminal Security Flaws: Which Version Is Safe to Run
warp-cve-cover-en

Warp Terminal Security Flaws: Which Version Is Safe to Run

Warp, a developer terminal with a built-in AI agent, has four vulnerabilities. CVE-2026-48704 and others, all with severity CVSS 8.6 to 8.8. Merely opening a crafted document, receiving on-screen output, or letting the AI work in a malicious repository can run programs on your computer without intent. Update to the latest build.

NewsPublished June 25, 2026Last updated July 24, 2026
Table of contents
Key takeaways

Warp, a developer terminal with a built-in AI agent, has four vulnerabilities. CVE-2026-48704 and others, all with severity CVSS 8.6 to 8.8. Merely opening a crafted document, receiving on-screen output, or letting the AI work in a malicious repository can run programs on your computer without intent. Update to the latest build.

Warp, a developer terminal with a built-in AI agent (an AI that carries out work on its own in response to instructions), had a set of vulnerabilities (software flaws) in which opening a crafted document, receiving on-screen output, or letting the AI work in a malicious repository—everyday actions—could run programs or file operations on your computer without your intent. To lead with the conclusion: all of them are fixed in the stable build dated May 6, 2026 (0.2026.05.06.15.42.stable_01) and later. If your Warp is at or after that build, no further action is needed; if it is older, you need to update.

This set of weaknesses all comes from the same root: how safely Warp handles incoming information such as "what is shown on screen" and "the files and repositories its AI agent touches." A total of ten were published at once as GitHub Security Advisories, rated Moderate to High severity (topping out at 8.8 out of 10)—not full takeover level, but easy to step on because the trigger is everyday work itself. The representative four covered in this article are CVE-2026-48704 / 48720 / 48721 / 48732, and the rest are resolved by the same fixed build. As of July 23, 2026, there are no reports of these being used in real attacks.

What kind of software is Warp?

Warp is a modern reimagining of the terminal (the black-screen tool where you type commands to operate a computer) that programmers use daily. Unlike an ordinary terminal, it has a built-in AI agent: ask it in plain language and it can devise and run commands, or take over investigating bugs and fixing code on your behalf.

It runs on macOS, Linux, and Windows, and is widely popular on GitHub. According to its official site, it is used even at Fortune 500 companies, and it is a staple among AI-assisted development tools. It ships updates weekly (on Thursdays); the latest stable build at the time of writing is 0.2026.07.15.08.55 (released July 16, 2026), so normal updating keeps you clear of these flaws.

Convenient as it is, Warp often acts on "what is displayed on screen" and "the files and repositories its AI agent touches," so if malicious content slips into those, operations the user never intended can be carried out. This set of weaknesses all lands on exactly this one point: how safely untrusted input is handled.

Who targets it, what they do, and what happens

The targets are developers who use Warp to handle externally received code and documents, or unfamiliar repositories (code storehouses). Streaming the output of a command found online to the screen, opening a distributed Markdown document (a document written with simple symbols for headings and lists), having the AI agent inspect someone else's repository—these everyday actions in development become the entry point.

What an attacker does is plant traps in such documents, output, or repository names so that, the moment a user opens or operates on them in Warp, a program runs or a file is written on the user's computer without intent. Each requires "the user to take one action" (clicking, receiving output, letting the AI work, and so on), but that action is the everyday work itself, which is what makes it easy to step on unawares.

Once code runs, the damage can spread fast: reading or rewriting files on the computer, or using SSH credentials (the mechanism for connecting securely to a remote server) to break into other servers. Because a developer's computer often holds keys to production and the cloud, a small entry point tends to lead to a large impact.

Letting an AI agent handle an unfamiliar repository ties into the question of how far to trust the external assets you bring in. This set of weaknesses, too, all comes down to that one point: how far to trust what arrives from outside. Inspecting the code and packages you import is worth revisiting alongside the ideas in our OSS supply-chain scanner overview. Vulnerabilities that begin to be used in attacks can be added to the U.S. agency CISA's "list of vulnerabilities under active attack"; we maintain a Japanese-language overview in our CISA KEV Dashboard (Japanese edition).

What the four representative vulnerabilities are

Of the ten published together, these four are the representative ones—high in severity and clear in how they get abused. All stem from "how untrusted input is handled," but their entry points differ. Let us look at each in turn. All are fixed in the stable build dated May 6, 2026 and later.

CVE-2026-48704: a link in a crafted Markdown document opens an executable file (CVSS 8.8)

According to the published information, when opening a local file from a link in a document, Warp did not limit it to safe viewer/editor software but handed the file off to the OS's default app. An attacker can embed a link to an executable file inside a Markdown document that looks like ordinary text. When the user clicks it, an executable file that should not be opened launches as-is (GHSA-589x-4mxh-jcrf).

CVE-2026-48720: displayed output alone writes a file to disk (CVSS 8.8)

Terminals have a mechanism for mixing special control instructions (escape sequences) into output. In this flaw, when Warp received an instruction in the "OSC 1337;File" format from output, it wrote the contents to disk as a local file without an extra confirmation step. In other words, merely streaming the output of a malicious server or command to the screen could place an arbitrary file on the user's machine (GHSA-5h96-jrrq-6hxq).

CVE-2026-48721: the AI agent's permission check can be bypassed (CVSS 8.6)

Warp's default AI agent profile runs without a sandbox (a mechanism that isolates execution). In this flaw, the matching that rejects dangerous commands (checking against a denylist) was done before normalizing how environment-variable assignments were written, so crafting the syntax could slip past the check. As a result, command execution that should have been blocked passes through by bypassing the permission check (GHSA-3839-h8jj-ph82).

CVE-2026-48732: command injection via host and directory names on SSH connect (CVSS 8.8)

This flaw is in older processing that runs behind SSH connections. When building a helper command to gather information about the connection target, Warp used the remote working directory name and the like as-is. If an attacker plants a malicious string in a remote host name, repository name, or directory name, then the moment the user connects there over SSH, that string is interpreted as a command and arbitrary commands run with the user's SSH privileges (GHSA-qqpc-wvvw-4269).

Beyond these four, six more advisories were published on the same day. They are all the same family of weakness—treating a string or displayed content that came from outside as if it were a command—via entry points such as WSL (running Linux on Windows) terminal links, spoofing of the DCS screen-control instruction, Git branch names, on-screen clipboard access (OSC 52), Linux external-editor integration, and arguments to the code-search tool. Those six included, all ten are resolved in the same stable build dated May 6, 2026 and later. In other words, you do not need to track each CVE one by one; the only question is whether the Warp you run is at or after that build.

A quick reference of what is risky

The representative four each have "one user action" as the entry point. Here is which action leads to which flaw. All are fixed in the stable build dated May 6, 2026 and later.

Triggering actionCVEWhat can happen
Click a link in a
distributed document
CVE-2026-48704An executable
launches on its own
Stream output to screen
(command / server reply)
CVE-2026-48720A file is written
without confirmation
Let the default AI
agent do work
CVE-2026-48721A dangerous command
bypasses the check
SSH into a
malicious host
CVE-2026-48732Commands run with
your SSH privileges

None of these is fully no-click, since "you take one action," but that action is everyday work such as clicking or displaying output. The case of letting the AI agent handle an unfamiliar repository deserves particular care.

What to do now

The top priority is to update Warp. The fix landed in the stable build dated May 6, 2026 (0.2026.05.06.15.42.stable_01), and anything at or after that clears the whole set of weaknesses. Warp updates weekly (on Thursdays), and the latest stable build at the time of writing is 0.2026.07.15.08.55 (released July 16, 2026), so if you update normally you are already clear. You can check for updates from Warp's settings. The version string is in a date-based format (e.g. 0.2026.05.06.15.42.stable_01), so confirm whether your build is at or after that fixed build.

If you cannot update immediately, these habits help: do not open links in documents of dubious origin, do not stream untrusted command or server output straight to your screen, and do not let the AI agent automatically touch unfamiliar repositories. When using the AI agent, run it in an isolated environment or with reduced privileges where possible. Limit SSH connections to trusted destinations. In case suspicious execution has already occurred, consider rotating the SSH and cloud credentials stored on your computer.

Summary

Warp's set of vulnerabilities—ten in all, published together, including the representative four (CVE-2026-48704 / 48720 / 48721 / 48732)—all stem from lax handling of untrusted input, allowing everyday actions such as opening a document, displaying output, letting the AI work, or connecting over SSH to permit unintended program execution or file operations on your computer. Their severity ranges from Moderate to High (the representative four rate 8.6 to 8.8 out of 10), and all ten are fixed in the stable build dated May 6, 2026 (0.2026.05.06.15.42.stable_01) and later.

The more a tool lets AI carry out work on its own, the greater the damage when malice slips into the input it handles. The call is simple, though: the only thing to check is whether the Warp you run is at or after the fixed build. As of July 23, 2026, about a month and a half after disclosure, there are no reports of these being used in real attacks, and no new Warp vulnerabilities have been published since. Because Warp updates weekly, normal updating keeps you clear; if you have not updated in a while, check your version from settings and update if it is older than the fixed build.

References

avatar-m-1

Makoto Horikawa

Backend Engineer / AWS / Django