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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ghostty-org | ghostty | < 1.3.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ghostty | No fix yet | — |
| Ubuntu 26.04 LTS | ghostty | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ghostty | 1.3.0-1.1 | openSUSE-SU-2026:10316-1 |
Advisories 1
- openSUSE-SU-2026:10316-1 ghostty-1.3.0-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026