CVE-2026-26982
CVE-2026-26982 · Ghostty affected by arbitrary command execution via control characters in paste and drag-and-drop operations
CVSS 6.3 · Medium · EPSS 0.6%
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ghostty"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:10316-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
ghostty
- Versions
- < 1.3.0: Affected
No fix published
ghostty Ubuntu 26.10
- Versions
- 1.3.0~us1-0ubuntu1
- 1.3.0~us1-0ubuntu3
- 1.3.0~us1-0ubuntu4
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
ghostty Ubuntu 26.04 LTS
- Versions
- 1.3.0~us1-0ubuntu1
- 1.3.0~us1-0ubuntu1.1
- 1.3.0~us1-0ubuntu1.2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published