Vulnerability Description
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.
Related Weaknesses (CWE)
References
- https://github.com/ghostty-org/ghostty/pull/3908
- https://github.com/ghostty-org/ghostty/security/advisories/GHSA-5hcq-3j4q-4v6p
FAQ
What is CVE-2024-56803?
CVE-2024-56803 is a documented vulnerability. 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 t...
How severe is CVE-2024-56803?
CVSS scoring is not yet available for CVE-2024-56803. Check NVD for updates.
Is there a patch for CVE-2024-56803?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.