CVE-2026-54055: Kitty has an Arbitrary File Write via Symlink Race Condition in File Transmission Protocol

Published Jun 12, 2026
·
Updated

Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.2, a local privilege escalation vulnerability exists in kitty's file transmission protocol where a child process running in the terminal can write to arbitrary files on the filesystem by exploiting a TOCTOU (Time-of-Check-Time-of-Use) race condition between symlink validation and file creation. The os.open() call used to create files does not use ONOFOLLOW, allowing an attacker to create a symlink between the initial stat check and the actual file open, causing the write to follow the symlink to an arbitrary destination. Version 0.47.2 fixes the issue.

Affected Software

2 affected components
Kitty Kitty<0.47.2
Kovidgoyal Kitty<0.47.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.47.2

Event History

Jun 12, 2026
CVE Published
via MITRE·08:03 PM
Data Sourced
via MITRE·08:03 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-54055?

The severity of CVE-2026-54055 is rated as medium with a score of 5.

2

How do I fix CVE-2026-54055?

To fix CVE-2026-54055, update to Kitty version 0.47.2 or later.

3

What type of vulnerability is CVE-2026-54055?

CVE-2026-54055 is a local privilege escalation vulnerability caused by a race condition.

4

What impact does CVE-2026-54055 have on systems?

CVE-2026-54055 allows a child process running in the terminal to write to arbitrary files on the filesystem.

5

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

Versions of Kitty prior to 0.47.2 are affected by CVE-2026-54055.

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