# CVE-2026-134823: Kitty 0.43.0 before 0.51.0 Terminal Escape Injection via choose-files Preview

Source: https://aplosec.si/cve/CVE-2026-134823/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-134823

Medium 4.8 · Reported · Fixed in 0.51.0 · CWE-150 · Desktop

# Kitty 0.43.0 before 0.51.0 Terminal Escape Injection via choose-files Preview

CVE-2026-134823 · published 2026-11-22

In plain words: this type of bug lets someone inject their own content into data the application builds (injection). A fixed release is listed.

## Summary

CVE-2026-134823 affects kitty (Desktop) >= 0.43.0, < 0.51.0: Terminal Escape Injection via choose-files Preview (CWE-150). Fixed in 0.51.0. CVSS 4.0 base score 4.8 (Medium), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade kitty to 0.51.0 or later. Releases in the affected range (>= 0.43.0, < 0.51.0) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-11-22 CVE published

## References

- [Referencehttps://github.com/kovidgoyal/kitty/security/advisories/GHSA-3q3j-fgmq-rv26](https://github.com/kovidgoyal/kitty/security/advisories/GHSA-3q3j-fgmq-rv26)

- [Releasehttps://github.com/kovidgoyal/kitty/releases/tag/v0.51.0](https://github.com/kovidgoyal/kitty/releases/tag/v0.51.0)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/kitty-0.43.0-before-0.51.0-terminal-escape-injection-via-choose-files-preview](https://www.vulncheck.com/advisories/kitty-0.43.0-before-0.51.0-terminal-escape-injection-via-choose-files-preview)

- [Fix commithttps://github.com/kovidgoyal/kitty/commit/4fa6709910d289ef5b8771eefeaac876343bb083](https://github.com/kovidgoyal/kitty/commit/4fa6709910d289ef5b8771eefeaac876343bb083)

- [Vulnerable codehttps://github.com/kovidgoyal/kitty/blob/v0.50.0/kittens/choose_files/archive.go#L101](https://github.com/kovidgoyal/kitty/blob/v0.50.0/kittens/choose_files/archive.go#L101)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134823](https://www.cve.org/CVERecord?id=CVE-2026-134823)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134823](https://nvd.nist.gov/vuln/detail/CVE-2026-134823)

**Severity:** Medium 4.8 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-134823)

**Package:** kitty

**Ecosystem:** Desktop

**Affected:** >= 0.43.0, < 0.51.0

**Fixed:** 0.51.0

**Weakness:** CWE-150

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
