SB2026112348 - Command injection in kitty
Published: November 23, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Command injection (CVE-ID: N/A)
CWE-ID: CWE-77 - Command injection
CVSSv4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to execute arbitrary commands with the victim's privileges when a compromised session file is loaded.
The vulnerability exists due to improper neutralization of line breaks in kitty's session serializer when writing working directories supplied by OSC 7 or OSC 9;9 terminal output. A remote attacker can cause displayed terminal output to inject session directives that execute commands when the victim manually saves and reloads the session or when enabled session restoration saves it at logout and reloads it at login.
Remediation
Install update from vendor's website.