Skip to content

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

HighCVSS 8.8 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Ubuntu

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.

Upgrade path

4 packages: 1 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/ghostty(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/ghostty(Ubuntu 26.10) All versions No fix listed No fix yet
ghostty < 1.3.0 1.3.0 Fixed
ghostty-org ghostty = < 1.3.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ghostty-org ghostty = < 1.3.0 No fix listed
ubuntu/ghostty(Ubuntu:26.04) All versions No fix listed
ubuntu/ghostty(Ubuntu:26.10) All versions No fix listed
ghostty < 1.3.0 1.3.0

References