Skip to main content
VulnerabilityPublished

CVE-2026-26982: ghostty · OS Command Injection

Affects ghosttySource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.3 Medium : upgrade to 1.3.0 when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.3.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade ghostty and ghostty-org/ghostty to 1.3.0.

Affected software

ProductAffectedFixed in
ghostty-orgghosttyAffected
  • <1.3.0
Fixed in
  • 1.3.0
GitHubghostty-org/ghosttypkg:github/ghostty-org/ghosttyOther threatsAffected
  • <1.3.0
Fixed in
  • 1.3.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in Ghostty version 1.3.0. Users and administrators should upgrade to version 1.3.0 or later to remediate this vulnerability. Until patched, users should avoid pasting or dragging untrusted text into Ghostty to reduce risk.

Description

Ghostty versions prior to 1.3.0 contain an OS command injection vulnerability due to improper neutralization of special control characters in pasted or dropped text. This allows an attacker to execute arbitrary commands by tricking a user into pasting or dragging malicious text containing control characters like Ctrl+C. The vulnerability requires user interaction and is difficult to detect because the malicious characters are invisible in most graphical environments. This issue has been fixed in Ghostty version 1.3.0.

References

Community reviews

Loading reviews…