p PatchFirst

CVE-2026-42851

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

CVSS 7.8 · High · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • kittyNo fix published
  • kitty Debian 12Update to 0.26.5-5+deb12u1
  • kitty Debian 13Update to 0.41.1-2+deb13u2
  • kitty Debian 14Update to 0.47.0-1
  • and 3 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="kitty"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • kitty

    Versions
    • < 0.47.0: Affected

    No fix published

  • kitty Debian 12

    Versions
    • 0.26.5-5
    Affected ranges
    • ECOSYSTEM: < 0.26.5-5+deb12u1

    Update to 0.26.5-5+deb12u1

  • kitty Debian 13

    Versions
    • 0.41.1-2
    • 0.41.1-2+deb13u1
    Affected ranges
    • ECOSYSTEM: < 0.41.1-2+deb13u2

    Update to 0.41.1-2+deb13u2

  • kitty Debian 14

    Versions
    • 0.41.1-2
    • 0.42.1-1
    • 0.42.2-1
    • 0.43.1-1
    • 0.44.0-1
    • 0.45.0-1
    All versions (9)
    • 0.45.0-2
    • 0.46.1-1
    • 0.46.2-1
    Affected ranges
    • ECOSYSTEM: < 0.47.0-1

    Update to 0.47.0-1

  • kitty Ubuntu Pro 24.04 LTS

    Versions
    • 0.26.5-3ubuntu2
    • 0.26.5-5ubuntu1
    • 0.31.0-3
    • 0.31.0-4
    • 0.32.2-1
    • 0.32.2-1build2
    All versions (12)
    • 0.32.2-1build3
    • 0.32.2-1ubuntu0.1
    • 0.32.2-1ubuntu0.2
    • 0.32.2-1ubuntu0.3
    • 0.32.2-1ubuntu0.4
    • 0.32.2-1ubuntu0.4+esm1
    Affected ranges
    • ECOSYSTEM: < 0.32.2-1ubuntu0.4+esm2

    Update to 0.32.2-1ubuntu0.4+esm2

  • kitty Ubuntu 25.10

    Versions
    • 0.39.1-1
    • 0.41.1-2
    • 0.41.1-2+deb13u1build0.25.10.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • kitty Ubuntu Pro 26.04 LTS

    Versions
    • 0.41.1-2
    • 0.43.1-1
    • 0.44.0-1
    • 0.45.0-1
    • 0.45.0-1build1
    • 0.45.0-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: < 0.45.0-1ubuntu0.1~esm2

    Update to 0.45.0-1ubuntu0.1~esm2

Original sources

Check your server →