Kitty 0.43.0 before 0.51.0 Terminal Escape Injection via choose-files Preview
- State
- Published
- Severity
- 4.8 Medium
- Published
- Nov 22, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 22, 2026
Description
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.
| Product | Versions |
|---|---|
| kitty kovidgoyal | 0.43.0 to before 0.51.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | VulnCheck | |
| 3.1 | 3.3 Low | VulnCheck |
Weaknesses
- CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
References
- GitHub Security Advisory (GHSA-3q3j-fgmq-rv26)Vendor Advisory
- https://github.com/kovidgoyal/kitty/commit/4fa6709910d289ef5b8771eefeaac876343bb083Patch
- kitty v0.51.0 Release NotesRelease Notes
- https://github.com/kovidgoyal/kitty/blob/v0.50.0/kittens/choose_files/archive.go#L101Technical Details
- VulnCheck Advisory: Kitty 0.43.0 before 0.51.0 Terminal Escape Injection via choose-files PreviewThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.