CVE-2026-26982

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ghostty:ghostty:*:*:*:*:*:*:*:*

History

13 Mar 2026, 17:28

Type Values Removed Values Added
Summary
  • (es) Ghostty es un emulador de terminal multiplataforma. Ghostty permite caracteres de control como 0x03 (Ctrl+C) en texto pegado y soltado. Estos pueden usarse para ejecutar comandos arbitrarios en algunos entornos de shell. Este ataque requiere que un atacante convenza al usuario de copiar y pegar o arrastrar y soltar texto malicioso. El ataque requiere interacción del usuario para ser activado, pero los caracteres peligrosos son invisibles en la mayoría de los entornos GUI, por lo que no se detecta trivialmente, especialmente si el contenido de la cadena es complejo. Corregido en Ghostty v1.3.0.
CPE cpe:2.3:a:ghostty:ghostty:*:*:*:*:*:*:*:*
First Time Ghostty ghostty
Ghostty
References () https://github.com/ghostty-org/ghostty/commit/fe7427ed2a1a02aef85495b384cfb8f11ee5efc9 - () https://github.com/ghostty-org/ghostty/commit/fe7427ed2a1a02aef85495b384cfb8f11ee5efc9 - Patch
References () https://github.com/ghostty-org/ghostty/pull/10746 - () https://github.com/ghostty-org/ghostty/pull/10746 - Issue Tracking, Patch
References () https://github.com/ghostty-org/ghostty/security/advisories/GHSA-4jxv-xgrp-5m3r - () https://github.com/ghostty-org/ghostty/security/advisories/GHSA-4jxv-xgrp-5m3r - Patch, Vendor Advisory

10 Mar 2026, 07:42

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-10 07:42

Updated : 2026-03-13 17:28


NVD link : CVE-2026-26982

Mitre link : CVE-2026-26982

CVE.ORG link : CVE-2026-26982


JSON object : View

Products Affected

ghostty

  • ghostty
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')