# CVE-2024-56803: Ghostty improperly handles window title sequences which can lead to arbitrary command execution

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-12-31 · Modified: 2025-01-02
- Aliases: UBUNTU-CVE-2024-56803
- Record: https://cvemate.com/vulnerability/CVE-2024-56803 · JSON: https://cvemate.com/vulnerability/CVE-2024-56803/json

## Description

```text
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.
```

## Signals

- CVSS: 5.1 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- EPSS: 0.542%, percentile 47.01%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu ghostty (Ubuntu): All versions (No fix recorded)
- ghostty-org ghostty: \< 1.0.1

## References

- <https://github.com/ghostty-org/ghostty/security/advisories/GHSA-5hcq-3j4q-4v6p>
- <https://github.com/ghostty-org/ghostty/pull/3908>
- <https://ubuntu.com/security/CVE-2024-56803>
- <https://www.cve.org/CVERecord?id=CVE-2024-56803>

---

Data as of 2026-12-05T14:13:03.993Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
