CVE-2026-72913: Kitty: Command injection into the child shell via chained @kitty-echo + @kitty-ssh DCS escape sequences

Published Aug 10, 2026
·
Updated

Kitty is a cross-platform GPU based terminal. Prior to 0.48.2, the @kitty-echo and @kitty-ssh DCS handlers in kitty/window.py write unauthenticated data to the child shell's stdin, where handleremoteecho accepts printable shell command characters and handleremotessh calls getsshdata in kittens/ssh/utils.py, which emits a newline; chaining the handlers can execute attacker-controlled commands when a user displays untrusted terminal data. This issue is fixed in version 0.48.2.

Affected Software

1 affected component
Kitty Kitty<0.48.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade kitty to a version that resolves this vulnerability.

    Fixed in 0.48.2

Event History

Aug 10, 2026
CVE Published
via MITRE·09:07 PM
Data Sourced
via MITRE·09:07 PM
DescriptionWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-72913?

CVE-2026-72913 has a risk score of 62, indicating a medium-level severity.

2

How do I fix CVE-2026-72913?

To mitigate CVE-2026-72913, upgrade Kitty to version 0.48.2 or later, where the vulnerability has been addressed.

3

What type of vulnerability is CVE-2026-72913?

CVE-2026-72913 is classified as a command injection vulnerability due to unauthenticated data being written to the child shell's stdin.

4

Which components of Kitty are affected by CVE-2026-72913?

The @kitty-echo and @kitty-ssh DCS handlers in kitty/window.py are the components impacted by CVE-2026-72913.

5

When was CVE-2026-72913 published?

CVE-2026-72913 was published on August 10, 2026.

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