p PatchFirst

CVE-2024-56803

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

CVSS 5.1 · Medium · EPSS 1.1%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ghostty"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • ghostty

    Versions
    • < 1.0.1: Affected

    No fix published

  • ghostty Ubuntu 26.10

    Versions
    • 1.3.0~us1-0ubuntu1
    • 1.3.0~us1-0ubuntu3
    • 1.3.0~us1-0ubuntu4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ghostty Ubuntu 26.04 LTS

    Versions
    • 1.3.0~us1-0ubuntu1
    • 1.3.0~us1-0ubuntu1.1
    • 1.3.0~us1-0ubuntu1.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →