{"id":"CVE-2026-42851","state":"PUBLISHED","title":"@kitty-edit DCS + --color=geninclude vulnerable to Unauthenticated in-process RCE","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.","publishedAt":"2026-06-12T20:00:23.386Z","updatedAt":"2026-06-16T13:12:55.145Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["kovidgoyal kitty"],"affected":[{"vendor":"kovidgoyal","product":"kitty","versions":[{"version":"< 0.47.0","status":"affected"}]}],"references":["https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332"],"weaknesses":["CWE-94","CWE-862"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42851.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42851","state":"PUBLISHED","datePublished":"2026-06-12T20:00:23.386Z","dateUpdated":"2026-06-16T13:12:55.145Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-30T16:44:48.378Z"},"containers":{"cna":{"title":"@kitty-edit DCS + --color=geninclude vulnerable to Unauthenticated in-process RCE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"kovidgoyal","product":"kitty","versions":[{"version":"< 0.47.0","status":"affected"}]}],"references":[{"url":"https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332","name":"https://github.com/kovidgoyal/kitty/security/advisories/GHSA-w98g-hpvr-r332","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-862","lang":"en","description":"CWE-862: Missing Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-12T20:00:23.386Z"},"source":{"advisory":"GHSA-w98g-hpvr-r332","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-16T03:56:02.774347Z","id":"CVE-2026-42851","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-16T13:12:55.145Z"}}]}}}