Ghostty improperly handles window title sequences which can lead to arbitrary command execution
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
Ghostty is a cross-platform terminal emulator. Ghostty, as allowed by default in 1.0.0, allows attackers to modify the window title via a certain character escape sequence and then insert it back to the command line in the user's terminal, e.g. when the user views a file containing the malicious sequence, which could allow the attacker to execute arbitrary commands. This attack requires an attacker to send malicious escape sequences followed by convincing the user to physically press the "enter" key. Fixed in Ghostty v1.0.1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ghostty-org | ghostty | before 1.0.1 | 1.0.1 | Patch available | CNA |
- ghostty Vendorghostty-org Affected before 1.0.1 Fixed in 1.0.1 Patch available CNA
Remediation
- Fix · CNA ghostty (ghostty-org) Fixed in 1.0.1
Timeline
- 2026-10-02 Threatist record created from CVE-2024-56803
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences