# CVE-2026-42851: @kitty-edit DCS + --color=geninclude vulnerable to Unauthenticated in-process RCE

- Severity: High 7.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-12T20:00:23.386Z
- Modified: 2026-10-26T11:10:00.157Z
- Weaknesses: CWE-94, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- kovidgoyal kitty: < 0.47.0; before 0.47.0

## References

- <https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332> (exploit, mitigation, vendor-advisory)

## Sources

- CVE List: [CVE-2026-42851](https://www.cve.org/CVERecord?id=CVE-2026-42851), CVE Terms of Use, modified 2026-06-16
- NVD: [CVE-2026-42851](https://nvd.nist.gov/vuln/detail/CVE-2026-42851), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42851 · Whole record: https://cve.day/CVE-2026-42851.json · Rebuilt by cve.day 2026-11-25T22:59:24.565Z
