CVE-2026-26982

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ghostty:ghostty:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-03-10 07:42

Updated : 2026-03-13 17:28


NVD link : CVE-2026-26982

Mitre link : CVE-2026-26982

CVE.ORG link : CVE-2026-26982


JSON object : View

Products Affected

ghostty

  • ghostty
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')