Read the docs

Injection in Ghostty macOS OSC 8 hyperlink handler

Priority LOW 24CWE-707Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Ghostty up to and including 1.3.1 has an injection flaw in its macOS OSC 8 hyperlink handler. The handler does not properly neutralize special elements in output (CWE-74). A remote attacker can launch the attack, and a user must interact with the crafted content.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

A security vulnerability has been detected in Ghostty up to 1.3.1. The impacted element is an unknown function of the component macOS OSC 8 Hyperlink Handler. Such manipulation leads to injection. The attack can be launched remotely. Upgrading to version 1.4.0 is sufficient to resolve this issue. The name of the patch is 54fe8e188552977249a084db687e75aee6bf12e9. Upgrading the affected component is advised.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00373 23rd percentileScored 2026-11-30
Fix Fixed Ghostty: 1.4.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Ghostty1.3.0; 1.3.11.4.0Patch availableCNA
  • Ghostty Vendor— Affected 1.3.0; 1.3.1 Fixed in 1.4.0 Patch available CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:ghostty:ghostty:*:*:*:*:*:*:*:*——Ghostty
  • cpe:2.3:a:ghostty:ghostty:*:*:*:*:*:*:*:* Versions — — ·Ghostty

Remediation

Upgrade Ghostty to version 1.4.0, which fixes the issue through patch 54fe8e1.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA Ghostty Fixed in 1.4.0

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-136950
  2. 2026-11-27 Alias added: GHSA-7c7w-8p4w-xr4c
  3. 2026-11-30 CISA SSVC decision points changed

References

Sources