ghostty — security advisory
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.
- Products
- ghostty
- Affected versions
- 1.3.0~us1-0ubuntu1, 1.3.0~us1-0ubuntu1.1, 1.3.0~us1-0ubuntu3, 1.3.0~us1-0ubuntu4
- Fixed versions
- Not specified
- CVEs
- CVE-2026-26982
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:56 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-26982
ghostty
Fixed versions: Not specified
ghostty
Fixed versions: Not specified
Complete source record
{
"id": "5ddf7149103adfa230b935728bd1f22dcb0758d285919612af394f9e7b5b139c",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-26982",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-26982",
"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.",
"evidence": "osv:UBUNTU-CVE-2026-26982",
"products": [
{
"name": {
"value": "ghostty",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.0~us1-0ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.0~us1-0ubuntu3",
"evidence": "/affected/0/versions"
},
{
"value": "1.3.0~us1-0ubuntu4",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "ghostty",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.0~us1-0ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "1.3.0~us1-0ubuntu1.1",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-26982",
"aliases": [
"UBUNTU-CVE-2026-26982"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ghostty",
"purl": "pkg:deb/ubuntu/ghostty?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.3.0~us1-0ubuntu1",
"1.3.0~us1-0ubuntu3",
"1.3.0~us1-0ubuntu4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26982.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ghostty",
"binary_version": "1.3.0~us1-0ubuntu4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "ghostty",
"purl": "pkg:deb/ubuntu/ghostty?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.3.0~us1-0ubuntu1",
"1.3.0~us1-0ubuntu1.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26982.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ghostty",
"binary_version": "1.3.0~us1-0ubuntu1.1"
}
]
}
}
],
"modified": "2026-10-17T12:56:18.244202354Z",
"provider": "osv",
"upstream": [
"CVE-2026-26982"
],
"references": [
"https://ubuntu.com/security/CVE-2026-26982",
"https://www.cve.org/CVERecord?id=CVE-2026-26982"
]
},
"related_cves": [
{
"value": "CVE-2026-26982",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 355186,
"published_at": "2026-03-10T07:42:00+00:00"
}