Kovidgoyal Kitty
Don't miss out!
Thousands of developers use stack.watch to stay informed.Get an email whenever new security vulnerabilities are reported in Kovidgoyal Kitty.
By the Year
In 2026 there have been 6 vulnerabilities in Kovidgoyal Kitty with an average score of 6.9 out of ten. Last year, in 2025 Kitty had 1 security vulnerability published. That is, 5 more vulnerabilities have already been reported in 2026 as compared to last year. Last year, the average CVE base score was greater by 0.88
| Year | Vulnerabilities | Average Score |
|---|---|---|
| 2026 | 6 | 6.93 |
| 2025 | 1 | 7.80 |
| 2024 | 0 | 0.00 |
| 2023 | 0 | 0.00 |
| 2022 | 1 | 7.80 |
| 2021 | 0 | 0.00 |
| 2020 | 1 | 9.80 |
It may take a day or so for new Kitty vulnerabilities to show up in the stats or in the list of recent security vulnerabilities. Additionally vulnerabilities may be tagged under a different product or component name.
Recent Kovidgoyal Kitty Security Vulnerabilities
Kitty CLI Unauthenticated DCS Handler Exec Prior 0.48.2
CVE-2026-72913
7.3 - High
- August 10, 2026
Kitty is a cross-platform GPU based terminal. Prior to 0.48.2, the @kitty-echo and @kitty-ssh DCS handlers in kitty/window.py write unauthenticated data to the child shell's stdin, where handle_remote_echo accepts printable shell command characters and handle_remote_ssh calls get_ssh_data in kittens/ssh/utils.py, which emits a newline; chaining the handlers can execute attacker-controlled commands when a user displays untrusted terminal data. This issue is fixed in version 0.48.2.
Command Injection
Kitty <=0.47.2: OSC 21 Reflected Input Injection, fixed in 0.47.3
CVE-2026-54057
- June 12, 2026
Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.3, kitty's OSC 21 (color-control) query reply reflects attacker-controlled bytes, including newlines, into the shell's input without sanitization. Version 0.47.3 fixes the issue.
Code Injection
Kitty 0.47.* DragDrop Symlink Remote File Overwrite (kitten dnd)
CVE-2026-54056
7.6 - High
- June 12, 2026
Kitty is a cross-platform GPU based terminal. In versions 0.47.0 and 0.47.1, `kitten dnd` can allow a malicious remote drag-and-drop source to overwrite or truncate arbitrary files writable by the local kitty user. Remote `text/uri-list` drops are staged in a temporary directory, but on case-sensitive filesystems duplicate remote basenames are not de-duplicated. An attacker can first create a staged symlink and then send a same-name regular-file entry. The regular-file write uses `utils.CreateAt()` / `openat(O_RDWR|O_CREAT|O_TRUNC)` without `O_NOFOLLOW`, so it follows the attacker-created symlink and writes outside the staging directory before final overwrite confirmation runs. This appears related in class to the file-transfer symlink advisory, but it is a different bug: it affects `kitten dnd` remote drag-and-drop staging, uses different vulnerable code (`kittens/dnd/drop.go` and `tools/utils/file_at_fd.go`), and reproduces on commit `4aa4a5c0567a92553a8c20a88a4352da637fca5d`, after the file-transfer `O_NOFOLLOW` fix. Version 0.47.2 patches the issue.
insecure temporary file
CVE-2026-54055: LPE in Kitty <0.47.2 via TOCTOU in file transfer
CVE-2026-54055
5 - Medium
- June 12, 2026
Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.2, a local privilege escalation vulnerability exists in kitty's file transmission protocol where a child process running in the terminal can write to arbitrary files on the filesystem by exploiting a TOCTOU (Time-of-Check-Time-of-Use) race condition between symlink validation and file creation. The `os.open()` call used to create files does not use `O_NOFOLLOW`, allowing an attacker to create a symlink between the initial stat check and the actual file open, causing the write to follow the symlink to an arbitrary destination. Version 0.47.2 fixes the issue.
insecure temporary file
Kitty <0.47.0: Remote Python Exec via Input Abuse
CVE-2026-42851
7.8 - High
- June 12, 2026
Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, a program able to write bytes to a kitty terminal a remote SSH peer, a downloaded file viewed with `cat`, a log line, an email body rendered in `less`, an issue body in a TUI, etc. can cause kitty to execute attacker-supplied Python inside the running kitty process, with the user's full privileges. There is no approval prompt, no remote-control permission requirement, no shell-integration interaction, no clipboard touch, and no editor interaction. Version 0.47.0 fixes the issue.
Code Injection
Kitty <0.47.0 Command Injection via Unescaped Escape Code
CVE-2026-42850
- June 12, 2026
Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, it is possible to inject commands within the subshell through kitty error. A special escape code will make kitty return an error, this error is not escaped and will be correctly echoed back to the terminal with CRLF, as such it will be run by the shell in use. To exploit this bug, the victim must use a netcat or a similar program to connect to the attacker, or else listening for someone to connect. Once this condition is set, an attacker could pwn the computer of the victim using a special kitty's escape code that will run a command in the shell in use. Version 04.7.0 fixes the issue.
Command Injection
Open_actions.py in kitty <0.41 execs untrusted docs without confirm
CVE-2025-43929
7.8 - High
- April 20, 2025
open_actions.py in kitty before 0.41.0 does not ask for user confirmation before running a local executable file that may have been linked from an untrusted document (e.g., a document opened in KDE ghostwriter).
Origin Validation Error
Kitty <0.26.2: DCN Escape Sequence RCE
CVE-2022-41322
7.8 - High
- September 23, 2022
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.
Output Sanitization
The Graphics Protocol feature in graphics.c in kitty before 0.19.3
CVE-2020-35605
9.8 - Critical
- December 21, 2020
The Graphics Protocol feature in graphics.c in kitty before 0.19.3 allows remote attackers to execute arbitrary code because a filename containing special characters can be included in an error message.
Stay on top of Security Vulnerabilities
Want an email whenever new vulnerabilities are published for Kovidgoyal Kitty or by Kovidgoyal? Click the Watch button to subscribe.