Kitty 0.43.0 before 0.51.0 contains a terminal escape sequence injection vulnerability that allows attackers to emit escape sequences by crafting malicious file or archive member names. When a victim highlights such an entry in the choose-files kitten preview panel, unsanitized names are written raw, enabling OSC 52 clipboard overwrites, OSC 8 links, window title changes, or screen spoofing.
https://github.com/kovidgoyal/kitty/security/advisories/GHSA-3q3j-fgmq-rv26
https://github.com/kovidgoyal/kitty/releases/tag/v0.51.0
https://github.com/kovidgoyal/kitty/commit/4fa6709910d289ef5b8771eefeaac876343bb083
https://github.com/kovidgoyal/kitty/blob/v0.50.0/kittens/choose_files/archive.go#L101
Published: 2026-11-22
Updated: 2026-11-22
Base Score: 6.4
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N
Severity: Medium
Base Score: 3.3
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Severity: Low
Base Score: 4.8
Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00245