๐Ÿ” CVE Alert

CVE-2026-26982

MEDIUM 6.3

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

CVSS Score
6.3
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-78
Vendor ghostty-org
Product ghostty
Published Mar 9, 2026
Last Updated Mar 10, 2026
Stay Ahead of the Next One

Get instant alerts for ghostty-org ghostty

Be the first to know when new medium vulnerabilities affecting ghostty-org ghostty are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Affected Versions

ghostty-org / ghostty
< 1.3.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/ghostty-org/ghostty/security/advisories/GHSA-4jxv-xgrp-5m3r github.com: https://github.com/ghostty-org/ghostty/pull/10746 github.com: https://github.com/ghostty-org/ghostty/commit/fe7427ed2a1a02aef85495b384cfb8f11ee5efc9