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

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-03-09T21:14:27.693Z
- Modified: 2026-06-17T10:26:28.993Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- ghostty-org ghostty: < 1.3.0
- ghostty ghostty: before 1.3.0

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ghostty-org/ghostty/security/advisories/GHSA-4jxv-xgrp-5m3r> (patch, vendor-advisory)
- <https://github.com/ghostty-org/ghostty/pull/10746> (issue-tracking, patch)
- <https://github.com/ghostty-org/ghostty/commit/fe7427ed2a1a02aef85495b384cfb8f11ee5efc9> (patch)

## Sources

- CVE List: [CVE-2026-26982](https://www.cve.org/CVERecord?id=CVE-2026-26982), CVE Terms of Use, modified 2026-03-10
- NVD: [CVE-2026-26982](https://nvd.nist.gov/vuln/detail/CVE-2026-26982), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26982 · Whole record: https://cve.day/CVE-2026-26982.json · Rebuilt by cve.day 2026-11-25T22:59:15.545Z
