Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
ghostty-org ghostty
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Ghostty是Ghostty开源的一个快速、原生、功能丰富的终端仿真器。 Ghostty 1.0.0版本存在代码注入漏洞。攻击者利用该漏洞可以执行任意命令。

AI Predicted 6.5 Difficulty: Easy EPSS 0.54% · P46
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-56803

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Ghostty improperly handles window title sequences which can lead to arbitrary command execution
Source: CVE Program / CVE List V5
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Ghostty 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Ghostty是Ghostty开源的一个快速、原生、功能丰富的终端仿真器。 Ghostty 1.0.0版本存在代码注入漏洞。攻击者利用该漏洞可以执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
ghostty-org ghostty < 1.0.1 -

II. Public POCs for CVE-2024-56803

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-56803

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-56803 (1)

Vendor Advisories for CVE-2024-56803 (1)

IV. Related Vulnerabilities