Search criteria
1 vulnerability by ghostty
CVE-2026-26982 (GCVE-0-2026-26982)
Vulnerability from cvelistv5 – Published: 2026-03-09 21:14 – Updated: 2026-03-10 15:03
VLAI
Title
Ghostty affected by arbitrary command execution via control characters in paste and drag-and-drop operations
Summary
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.
Severity
6.3 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator (v2.0.3)
CWE
- CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Assigner
References
3 references
| URL | Tags |
|---|---|
| https://github.com/ghostty-org/ghostty/security/a… | x_refsource_CONFIRM |
| https://github.com/ghostty-org/ghostty/pull/10746 | x_refsource_MISC |
| https://github.com/ghostty-org/ghostty/commit/fe7… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| ghostty-org | ghostty |
Affected:
< 1.3.0
|
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-26982",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-03-10T15:01:00.808597Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-03-10T15:03:53.041Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "ghostty",
"vendor": "ghostty-org",
"versions": [
{
"status": "affected",
"version": "\u003c 1.3.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027t trivially detected, especially if the string contents are complex. Fixed in Ghostty v1.3.0."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-78",
"description": "CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-03-09T21:14:27.693Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/ghostty-org/ghostty/security/advisories/GHSA-4jxv-xgrp-5m3r",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/ghostty-org/ghostty/security/advisories/GHSA-4jxv-xgrp-5m3r"
},
{
"name": "https://github.com/ghostty-org/ghostty/pull/10746",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/ghostty-org/ghostty/pull/10746"
},
{
"name": "https://github.com/ghostty-org/ghostty/commit/fe7427ed2a1a02aef85495b384cfb8f11ee5efc9",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/ghostty-org/ghostty/commit/fe7427ed2a1a02aef85495b384cfb8f11ee5efc9"
}
],
"source": {
"advisory": "GHSA-4jxv-xgrp-5m3r",
"discovery": "UNKNOWN"
},
"title": "Ghostty affected by arbitrary command execution via control characters in paste and drag-and-drop operations"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-26982",
"datePublished": "2026-03-09T21:14:27.693Z",
"dateReserved": "2026-02-17T01:41:24.605Z",
"dateUpdated": "2026-03-10T15:03:53.041Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}