Escape sequence injection in kitty choose-files preview
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
Kitty by kovidgoyal from 0.43.0 before 0.51.0 writes unsanitized terminal escape sequences from file and archive member names raw into the choose-files preview panel (CWE-150). A local attacker who crafts such a name needs a victim to highlight it, and the escape sequences can overwrite the clipboard through OSC 52, add OSC 8 links, change the window title or spoof the screen.
Written with Claude Haiku 5.5 from the sources below · 2026-11-28
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| kovidgoyal | kitty | 0.43.0 to before 0.51.0 | 0.51.0 | Patch available | CNA |
- kitty Vendorkovidgoyal Affected 0.43.0 to before 0.51.0 Fixed in 0.51.0 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:kovidgoyal:kitty:*:*:*:*:*:*:*:* | — | — | kovidgoyal |
- cpe:2.3:a:kovidgoyal:kitty:*:*:*:*:*:*:*:* Versions — — ·kovidgoyal
Remediation
Upgrade kitty to version 0.51.0, which fixes this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-28
- Fix · CNA kitty (kovidgoyal) Fixed in 0.51.0
Vendor assessments
Timeline
- 2026-11-22 Threatist record created from CVE-2026-134823
- 2026-11-23 Alias added: GHSA-v4xv-86fx-r4r4
- 2026-11-26 Affected versions changed · Red Hat
- 2026-11-26 CVSS score added · Red Hat
- 2026-11-28 CISA SSVC decision points changed
References
More kovidgoyal vulnerabilities
- TI-2026-26023 Kitty has a Heap Buffer Over-Read/Write via Integer Overflow in compose_rectangles Bounds Check CVSS 3.1CRITICAL 9.9
- TI-2026-51129 Kitty: Command injection into the child shell via chained @kitty-echo + @kitty-ssh DCS escape sequences CVSS 4.0HIGH 7.3
- TI-2026-26014 Kitty has a Heap Buffer Overflow in its Graphics Protocol Handler CVSS 3.1HIGH 8.8
- TI-2026-51386 Missing authorization in kovidgoyal calibre CVSS 3.1HIGH 7.5
- TI-2026-51385 calibre: Bypass of Python template restrictions via nested `template()` leading to RCE CVSS 4.0HIGH 8.5
- TI-2026-38585 calibre: Arbitrary Code Execution in Template Formatter via Book Metadata CVSS 4.0HIGH 8.5
Sources
- CVE-2026-134823 · CVE Program
- CVE-2026-134823 · NVD
- FIRST EPSS
- GHSA-v4xv-86fx-r4r4 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-134823 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences