Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure victim to render hostile output
-
DeliveryStream OSC 52 escape in terminal
-
ExploitWarp honors clipboard read/write unprompted
-
ExecutionExfiltrate clipboard secrets or inject paste payload
-
ImpactOptional shell paste executes attacker command
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Default permission hardening
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the victim render attacker-controlled terminal output inside a vulnerable Warp build (0.2021.04.25.23.05.stable_00 through pre-0.2026.05.06.15.42.stable_01) - the malicious source can be a remote host the user SSHes to, a remote program, or any output stream the terminal displays - and that output must contain OSC 52 clipboard escape sequences. The concrete prerequisite is OSC 52 handling being enabled by default with no confirmation gate, which is the pre-patch behavior; no authentication, no special privilege, and no non-default Warp configuration are needed. The limiting factor is user interaction: the malicious output must actually be displayed in the user's Warp terminal (UI:R), so a victim must view/run something that streams the sequence. For the write/paste-injection path to reach code execution, the additional human step of pasting the clipboard into a shell is required; the read path leaks data with no further user action. On patched builds the default 'deny' policy (terminal.osc52_clipboard_access) blocks the technique entirely. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N (8.1 High) is internally consistent with the description: the trigger reaches the victim over the network (a remote host or remote program's output), requires no authentication or special privilege, and is low-complexity, but does require user interaction in the sense that the victim must render the malicious output in their Warp terminal. EPSS was not supplied in the input, so exploitation probability cannot be quantified here. There is no KEV listing and no POC referenced, so this is not confirmed actively exploited - the only public artifact is the vendor fix commit, meaning a determined researcher could reconstruct the technique. The realistic priority is moderate-to-high for developer workstations: confidentiality impact is genuine because secrets are frequently held on the clipboard, and the integrity impact (clipboard write / paste-injection) can escalate to command execution only if the user subsequently pastes attacker-controlled content into a shell - a second action not captured by the base score. |
| Exploit ScenarioDerived | An attacker hosts a malicious server (or a trojaned CLI tool/log file) whose output embeds an OSC 52 read sequence; when a developer connects or views that output in a pre-fix Warp, the terminal silently returns the host clipboard into the stream, leaking any copied API key or password. Alternatively the output writes attacker-chosen text (e.g. a curl|sh one-liner) into the clipboard so the developer unknowingly pastes and runs it. No public POC is referenced, but the technique is straightforward given the public fix commit and the low-complexity, no-privilege CVSS profile. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
Clipboard hijacking in the Warp agentic terminal (versions 0.2021.04.25.23.05.stable_00 through 0.2026.05.06.15.42.stable_01) lets attacker-controlled terminal output read and write the host desktop clipboard via OSC 52 escape sequences with no confirmation prompt. Any malicious remote host, compromised program, or hostile output stream rendered in the terminal can silently exfiltrate clipboard contents (e.g. copied passwords or tokens) or plant attacker text for the user to later paste. There is no public exploit identified at time of analysis and it is not in CISA KEV, but the fix commit is public; CVSS is 8.1 (High).
RemediationAI
Vendor-released patch: upgrade Warp to 0.2026.05.06.15.42.stable_01 or later, which adds a terminal.osc52_clipboard_access policy that defaults to 'deny' for all OSC 52 clipboard operations. After upgrading, verify the setting remains 'deny' unless you specifically need clipboard integration, in which case prefer 'write_only' (lets programs set but not read the clipboard) over 'read_write', since read access is what enables silent exfiltration of copied secrets. Because the control is settings-driven and synced to cloud, administrators can enforce 'deny' org-wide. On unpatched versions there is no in-product toggle, so the practical compensating controls are operational: avoid catting/rendering untrusted files, logs, or remote command output in Warp, treat SSH sessions to untrusted hosts as hostile output sources, and clear sensitive data from the clipboard before working in the terminal - each reduces exposure but none fully blocks OSC 52 on a pre-fix build. Authoritative references: advisory GHSA-wgqj-4c26-7c4g and commit b1a41d0b1aba9f40db1e5ceb695183452a894003.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OSC 52 is an ANSI/xterm Operating System Command escape sequence that terminals may honor to let the running program set (and, in some implementations, query) the system clipboard. The affected component is Warp's terminal rendering path (app/src/terminal/view.rs), which unconditionally forwarded OSC 52 writes to ctx.clipboard().write() and serviced OSC 52 read requests by piping the host clipboard back into the PTY. Per CWE-276 (Incorrect Default Permissions), the insecure default was that clipboard access was granted automatically to terminal output with no per-event consent and no policy gate. The CPE cpe:2.3:a:warpdotdev:warp:*:*:*:*:*:*:*:* covers all Warp versions in the affected range across the supported desktop platforms.
Know when Warp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Triggered by remote output with no auth (AV:N/PR:N), low complexity, but the victim must render the output (UI:R); clipboard read leaks secrets (C:H) and clipboard write enables paste-injection (I:H), no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
Warp is an agentic development environment. From 0.2021.04.25.23.05.stable_00 until 0.2026.05.06.15.42.stable_01, Warp allows terminal output to request access to the local system clipboard. A malicious remote host, remote program, or other attacker-controlled terminal output source can trigger clipboard reads or writes without a separate confirmation step. This crosses the trust boundary between untrusted terminal output and the user's local desktop clipboard. This vulnerability is fixed in 0.2026.05.06.15.42.stable_01.
Executive ViewAI
Warp terminal, used by development teams for remote system access, is vulnerable to silent credential theft through a clipboard hijacking flaw. Any developer using affected versions could have passwords, API tokens, and SSH keys exposed, enabling attackers to compromise production systems. No public exploit has been identified at time of analysis, but the high severity and developer population exposure require immediate mitigation.
No vendor-released patch identified at time of analysis. Public fix commit available but requires custom build/deployment. Interim mitigations: (1) restrict SSH access from untrusted networks; (2) disable OSC 52 escape sequences in terminal settings if available; (3) use SSH key restrictions via command= directive in authorized_keys; (4) enforce multi-factor authentication on all systems accessed via affected terminals; (5) rotate all sensitive credentials (SSH keys, API tokens, database passwords); (6) implement endpoint monitoring for clipboard access if available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
It was possible to bypass policies configured for Zero Trust Secure Web Gateway by using warp-cli 'set-custom-endpoint'
Command injection in Warp's legacy SSH background command path lets an attacker-controlled remote host inject shell synt
Arbitrary code execution in the Warp agentic development environment (builds 0.2023.10.24.08.03.stable_00 through 0.2026
Arbitrary local file write in Warp terminal (0.2025.03.05.08.02.stable_00 through builds before 0.2026.05.06.15.42.stabl
Using warp-cli command "add-trusted-ssid", a user was able to disconnect WARP client and bypass the "Lock WARP switch" f
Command-execution permission bypass in Warp's default unsandboxed CLI agent profile (versions 0.2025.10.08.08.12.stable_
Command injection in Warp's prompt branch-selector chip lets a crafted Git branch name execute in the victim's shell whe
Command injection in the Warp agentic development environment (Linux builds 0.2024.02.20.08.01.stable_01 through pre-0.2
OS command injection in Warp's AI Agent code-search tooling allows attacker-controlled inputs to escape read-only search
Due to a hardlink created in the ProgramData folder during the repair process of the software, the installer (MSI) of WA
An unprivileged (non-admin) user can exploit an Improper Access Control vulnerability in the Cloudflare WARP Client for
By using warp-cli subcommands (disable-ethernet, disable-wifi), it was possible for a user without admin privileges to b
EUVD-2026-39010
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB