In Kitty before 0.26.2, insufficient validation in the desktop notification escape sequence can lead to arbitrary code execution. The user must display attacker-controlled content in the terminal, then click on a notification popup.
https://sw.kovidgoyal.net/kitty/changelog/#detailed-list-of-changes
https://security.gentoo.org/glsa/202209-22
https://github.com/kovidgoyal/kitty/compare/v0.26.1...v0.26.2
https://github.com/kovidgoyal/kitty/commit/f05783e64d5fa62e1aed603e8d69aced5e49824f