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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-09 · Modified: 2026-03-10
- Aliases: UBUNTU-CVE-2026-26982, openSUSE-SU-2026:10316-1
- Record: https://cvemate.com/vulnerability/CVE-2026-26982 · JSON: https://cvemate.com/vulnerability/CVE-2026-26982/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.348%, percentile 30.333%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu ghostty (Ubuntu): All versions (No fix recorded)
- ghostty-org ghostty: \< 1.3.0
- ghostty ghostty: \< 1.3.0
- opensuse ghostty&distro=openSUSE Tumbleweed (openSUSE): \< 1.3.0-1.1

## References

- <https://github.com/ghostty-org/ghostty/security/advisories/GHSA-4jxv-xgrp-5m3r>
- <https://github.com/ghostty-org/ghostty/pull/10746>
- <https://github.com/ghostty-org/ghostty/commit/fe7427ed2a1a02aef85495b384cfb8f11ee5efc9>
- <https://ubuntu.com/security/CVE-2026-26982>
- <https://www.cve.org/CVERecord?id=CVE-2026-26982>
- <https://www.suse.com/security/cve/CVE-2026-26982>

---

Data as of 2026-12-05T14:04:19.663Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
