CVE-2026-26982

Ghostty affected by arbitrary command execution via control characters in paste and drag-and-drop operations

HIGH
8.8
CVSS Score
Published: March 9, 2026 at 09:14 PM UTC
Updated: June 17, 2026 at 10:26 AM UTC
2 products affected across 2 vendorsGhosttyGhostty

Using ghostty by ghostty-org?

Get instant alerts when new vulnerabilities affect ghostty - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.3.0
v < 1.3.0
Affected range stops below 1.3.0, so it looks safe — our inference, not a vendor statement

References (3)

x_refsource_CONFIRMPatchVendor Advisory
Source: cverecord
https://github.com/ghostty-org/ghostty/security/advisories/GHSA-4jxv-xgrp-5m3r
x_refsource_MISCIssue TrackingPatch
Source: cverecord
https://github.com/ghostty-org/ghostty/pull/10746

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-78

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card