Skip to main content
← All vulnerabilities
CVE-2026-26982

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ghostty-org ghostty

    fixed in 1.3.0

References 3

GitHub · ghostty-org/ghostty