CVE-2026-26982: Ghostty affected by arbitrary command execution via control characters in paste and drag-and-drop operations
Vulnerability summary
CVE-2026-26982 is a high (CVSS 8.8) vulnerability in ghostty-org ghostty. EPSS estimates a 0.35% chance of exploitation in the next 30 days, higher than 30.3% of scored vulnerabilities.
Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 09-03-2026PublishedVulnerability first disclosed.
- 10-03-2026Last modifiedVulnerability information updated.
Description
Ghostty is a cross-platform terminal emulator. Ghostty allows control characters such as 0x03 (Ctrl+C) in pasted and dropped text. These can be used to execute arbitrary commands in some shell environments. This attack requires an attacker to convince the user to copy and paste or drag and drop malicious text. The attack requires user interaction to be triggered, but the dangerous characters are invisible in most GUI environments so it isn't trivially detected, especially if the string contents are complex. Fixed in Ghostty v1.3.0.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA6.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.35%
Chance of exploitation in the next 30 days
Percentile
30%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 0.35% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ghostty1 product
- ghostty< 1.3.0
Ghostty-org1 product
- ghostty< 1.3.0
Opensuse1 product
- ghostty&distro=openSUSE Tumbleweed< 1.3.0-1.1
Ubuntu1 product
- ghosttyAll versions (No fix recorded)
4 vendors · 4 products
References
6 links- github.com/ghostty-org/ghostty/security/advisories/GHSA-4jxv-xgrp-5m3rX Refsource CONFIRMPatchVendor Advisory