CVE-2026-54057: Kitty vulnerable to command injection via unsanitized OSC 21 query reply

Published Jun 12, 2026
·
Updated

Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.3, kitty's OSC 21 (color-control) query reply reflects attacker-controlled bytes, including newlines, into the shell's input without sanitization. Version 0.47.3 fixes the issue.

Affected Software

2 affected components
Kitty Kitty<0.47.3
Kovidgoyal Kitty<0.47.3

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.3

Event History

Jun 12, 2026
CVE Published
via MITRE·08:07 PM
Data Sourced
via MITRE·08:07 PM
DescriptionWeakness
Data Sourced
via NVD·09: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-54057?

The severity of CVE-2026-54057 is high with a CVSS score of 7.3.

2

How do I fix CVE-2026-54057?

To fix CVE-2026-54057, update Kitty to version 0.47.3 or later.

3

What vulnerability does CVE-2026-54057 exploit?

CVE-2026-54057 exploits a command injection vulnerability through unsanitized OSC 21 query replies.

4

Which versions of Kitty are affected by CVE-2026-54057?

Versions of Kitty prior to 0.47.3 are affected by CVE-2026-54057.

5

What is affected by the CVE-2026-54057 vulnerability?

CVE-2026-54057 affects the shell input handling of Kitty's terminal when processing OSC 21 control commands.

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