Every CVE Search/ Get API key

CVE-2026-54057

Kitty vulnerable to command injection via unsanitized OSC 21 query reply

7.3 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Passive

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.17%Up 0.1 points since Jun 13, 2026
90%50%10%1%

What each source reports

CVE List Score used 7.3

Kitty vulnerable to command injection via unsanitized OSC 21 query reply

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.

Record
CVE-2026-54057
CVSS 4.0
7.3 HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-94, CWE-150
Updated
2026-11-02
EUVDEUVD-2026-36579 7.3

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.

Record
EUVD-2026-36579
CVSS 4.0
7.3 HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Updated
2026-11-02
NVD 7.3

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.

Record
CVE-2026-54057
CVSS 4.0
7.3 HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94, CWE-150
Updated
2026-11-02
OSV 7.3

Kitty vulnerable to command injection via unsanitized OSC 21 query reply

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.

Record
CVE-2026-54057
CVSS 4.0
7.3 HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-150, CWE-94
Updated
2026-11-02
OSVDEBIAN-CVE-2026-54057 7.8

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.

Record
DEBIAN-CVE-2026-54057
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-54057 7.3

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.

Record
UBUNTU-CVE-2026-54057
CVSS 4.0
7.3 HighCVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2026:11021-1 No score

kitty-0.47.3-1.1 on GA media

These are all security issues fixed in the kitty-0.47.3-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11021-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:21599-1 No score

Security update for kitty

This update for kitty fixes the following issues:

Changes in kitty:

  • Update to 0.48.2:

    • Wayland: Fix regression in previous release that broke drag and drop on Plasma (#10284)
    • diff kitten: Fix a rare crash when showing a large diff due to incorrect locking when highlighting
    • Allow the private DCS kitty-echo escape code to only echo numbers
    • Linux: Fix an approx 1MB memory leak when reloading the config, introduced in version 0.40.0 (#10290)
    • Desktop file chooser integration: when the specified directory does not exist, open file chooser at home directory (#10292)
    • Add support for terminal visibility reports
    • tab_title_template: Add a field that evaluates to the total memory used by all child processes in the tab (#10293)
  • Update to 0.48.1:

    • Wayland: fix a regression in the previous release that broke window sizing for on Hyprland/Sway with fractional scales and an initial specified size (#10268)
    • Wayland: fix a regression in 0.47.3 that broke dragging on the Niri compositor (#10271)
    • Wayland: get initial window size in cells working in most cases on Hyprland/Sway with fractional scaling by using the fractional scale of the primary monitor
    • Wayland: fix using remote control to resize OS windows on some tiling compositors leading to broken rendering
    • macOS: fix edge=none panel height shrinking when margin_top is non-zero in the panel/quick-access-terminal kittens (#10278)
  • Update to 0.48.0:

    • Implement vertical tabs by setting tab_bar_edge to left or right (#9855)
    • Graphics protocol: Add a new transient usage hint that clients can send to terminals to indicate an image is meant for only short duration use (#10092)
    • On first press in an unfocused OS Window/kitty window give it focus and pass the mouse event through to the clicked element. This is a behavior change but aligns with platform defaults on macOS. Linux has no platform defaults here as far as I can tell, so it gets to follow along. (#10233)
    • kitten @ get-text: Add support for alternate and alternate_scrollback extents to fetch text from the alternate screen buffer (#10165)
    • Wayland: Fix first OS window being a few cells too small when initial_window_width/initial_window_height are set in cells and a fractional display scale is in use (#10146)
    • macOS: New option macos_ns_window_layer to more precisely control what layer panel OS windows are placed on (#10116)
    • macOS: New option macos_use_physical_screen_frame to allow panel OS Windows to cover the macOS global dock bar (#10116)
    • kitty binary builds are now built on Ubuntu 22 upgraded from Ubuntu 18 for improved performance from better compilers
    • macOS: Fix incorrect horizontal alignment when using text sizing protocol (#10179)
    • edit-in-kitty: Return exit code from underlying editor process on exit (#10198)
    • Make erasing last command robust against commands with no output and commands in the scrollback (#10201)
    • Fix superfluous margin visible to the left and right of the tab bar when background_opacity is less than one and the window width is not a multiple of the cell width (#10212)
    • hints kitten: Add a new flag kitty +kitten hints --prefix-free to generate hints without a shared prefix (#10210)
    • Wayland GNOME: Fix…
Record
openSUSE-SU-2026:21599-1
Updated
2026-11-02
OSVUSN-8763-1 No score

kitty vulnerabilities

It was discovered that kitty incorrectly escaped error messages when handling specially crafted terminal escape sequences. A remote attacker could possibly use this issue to execute arbitrary commands. (CVE-2026-42850)

It was discovered that kitty incorrectly handled remote edit requests in terminal output. An attacker could possibly use this issue to execute arbitrary code with the user's privileges. (CVE-2026-42851)

Thai Son Dinh and Nguyen Huy Vu Dung discovered that kitty incorrectly handled destination paths in its file transmission protocol. A local attacker could possibly use this issue to overwrite arbitrary files with the user's privileges. (CVE-2026-54055)

It was discovered that kitty incorrectly sanitized responses to color queries. An attacker could possibly use this issue to execute arbitrary commands with the user's privileges. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-54057)

Record
USN-8763-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
kitty
Debian:12
All versions, plus listed versions
0.26.5-50.30.1-10.31.0-10.31.0-20.31.0-3
Show 35 moreShow less
0.31.0-40.32.0-10.32.1-10.32.2-10.33.0-20.33.1-10.34.1-10.35.1-10.35.2-10.36.1-10.36.4-10.36.4-20.36.4-30.37.0-10.38.1-10.39.0-10.39.1-10.40.0-10.41.1-10.41.1-20.42.1-10.42.2-10.43.1-10.44.0-10.45.0-10.45.0-20.46.1-10.46.2-10.47.0-10.47.0-20.47.0-30.47.3-10.47.4-10.48.2-10.48.2-1.1
None known
kitty
Debian:13
before 0.41.1-2+deb13u2, plus listed versions
0.41.1-20.41.1-2+deb13u1
0.41.1-2+deb13u2
kitty
Debian:14
before 0.47.3-1, plus listed versions
0.41.1-20.42.1-10.42.2-10.43.1-10.44.0-1
Show 7 moreShow less
0.45.0-10.45.0-20.46.1-10.46.2-10.47.0-10.47.0-20.47.0-3
0.47.3-1
kitty
Ubuntu:25.10
All versions, plus listed versions
0.39.1-10.41.1-20.41.1-2+deb13u1build0.25.10.1
None known
kitty
Ubuntu:Pro:26.04:LTS
before 0.45.0-1ubuntu0.1~esm2, plus listed versions
0.41.1-20.43.1-10.44.0-10.45.0-10.45.0-1build10.45.0-1ubuntu0.1~esm1
0.45.0-1ubuntu0.1~esm2
kitty
Ubuntu:Pro:24.04:LTS
From an advisory covering 4 CVEs
before 0.32.2-1ubuntu0.4+esm2, plus listed versions
0.26.5-3ubuntu20.26.5-5ubuntu10.31.0-30.31.0-40.32.2-1
Show 7 moreShow less
0.32.2-1build20.32.2-1build30.32.2-1ubuntu0.10.32.2-1ubuntu0.20.32.2-1ubuntu0.30.32.2-1ubuntu0.40.32.2-1ubuntu0.4+esm1
0.32.2-1ubuntu0.4+esm2
kitty
Ubuntu:Pro:26.04:LTS
From an advisory covering 4 CVEs
before 0.45.0-1ubuntu0.1~esm2, plus listed versions
0.41.1-20.43.1-10.44.0-10.45.0-10.45.0-1build10.45.0-1ubuntu0.1~esm1
0.45.0-1ubuntu0.1~esm2
kitty
openSUSE:Tumbleweed
before 0.47.3-1.1
0.47.3-1.1
kitty
openSUSE:Leap 16.0
From an advisory covering 6 CVEs
before 0.48.2-bp160.1.1
0.48.2-bp160.1.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-54057 is a high vulnerability (CVSS 7.3) in Kitty Project Kitty, published June 12, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.17%, the 6th percentile. Fixed in kitty 0.41.1-2+deb13u2.

References

Show 16 moreShow less
This page doesn't list everything

Left out here: the rest of 1 source description. The JSON record has them.

MoveEnter Open