Back to CVE records
Medium 6.3Published Mar 9, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects ghostty-org ghostty and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
6.3 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Weakness (CWE)
CWE-78
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Mar 10, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
ghostty-org ghostty
ghostty_org:ghostty (from the name)
before 1.3.0
CNA record
ghostty ghostty
ghostty:ghostty
before 1.3.0
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.