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

Published Jun 12, 2026
·
Updated

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 Software

2 affected components
Kovid Goyal kitty<0.47.0
Kovidgoyal Kitty<0.47.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Kitty to a version that resolves this vulnerability.

    Fixed in 0.47.0

Event History

Jun 12, 2026
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42851?

The severity of CVE-2026-42851 is rated as high with a score of 7.8.

2

What is the risk associated with CVE-2026-42851?

CVE-2026-42851 has a risk score of 68, indicating significant potential impact.

3

How do I fix CVE-2026-42851?

To fix CVE-2026-42851, you should upgrade to kitty version 0.47.0 or later.

4

What type of vulnerability is CVE-2026-42851?

CVE-2026-42851 is classified as a code injection vulnerability that allows unauthenticated in-process remote code execution.

5

Which versions of kitty are affected by CVE-2026-42851?

CVE-2026-42851 affects all versions of the kitty terminal prior to 0.47.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203