Vulnerability in Ghostty Terminal Emulator Allows Command Execution via Malicious Text
CVE-2026-26982

6.3MEDIUM

Key Information:

Status
Vendor
CVE Published:
9 March 2026

What is CVE-2026-26982?

Ghostty, a cross-platform terminal emulator, is susceptible to a command injection vulnerability that arises from its handling of control characters in pasted or dragged-and-dropped text. This vulnerability allows attackers to execute arbitrary commands in certain shell environments, posing a significant risk if users are manipulated into pasting malicious content. The exploit requires user interaction, making detection difficult, particularly in GUI environments where the harmful characters remain hidden within complex string data. The issue has been addressed in Ghostty version 1.3.0.

Affected Version(s)

ghostty < 1.3.0

References

CVSS V3.1

Score:
6.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.