CVE-2026-54056
CVE-2026-54056 · Kitty has an arbitrary file overwrite via symlink following in `kitten dnd` remote drop staging
CVSS 7.6 · High · EPSS 0.4% · 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 14Update to 0.47.3-1
- kitty Ubuntu Pro 20.04 LTSNo fix published
- kitty Ubuntu Pro 22.04 LTSNo fix published
- and 4 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 | shChannels 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 0.47.0 and 0.47.1, `kitten dnd` can allow a malicious remote drag-and-drop source to overwrite or truncate arbitrary files writable by the local kitty user. Remote `text/uri-list` drops are staged in a temporary directory, but on case-sensitive filesystems duplicate remote basenames are not de-duplicated. An attacker can first create a staged symlink and then send a same-name regular-file entry. The regular-file write uses `utils.CreateAt()` / `openat(O_RDWR|O_CREAT|O_TRUNC)` without `O_NOFOLLOW`, so it follows the attacker-created symlink and writes outside the staging directory before final overwrite confirmation runs. This appears related in class to the file-transfer symlink advisory, but it is a different bug: it affects `kitten dnd` remote drag-and-drop staging, uses different vulnerable code (`kittens/dnd/drop.go` and `tools/utils/file_at_fd.go`), and reproduces on commit `4aa4a5c0567a92553a8c20a88a4352da637fca5d`, after the file-transfer `O_NOFOLLOW` fix. Version 0.47.2 patches the issue.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:12663-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
kitty
- Versions
- >= 0.47.0, < 0.47.2: Affected
No fix published
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 (12)
- 0.45.0-2
- 0.46.1-1
- 0.46.2-1
- 0.47.0-1
- 0.47.0-2
- 0.47.0-3
- Affected ranges
- ECOSYSTEM: < 0.47.3-1
Update to 0.47.3-1
kitty Ubuntu Pro 20.04 LTS
- Versions
- 0.14.3-1
- 0.14.4-1
- 0.14.6-1
- 0.15.0-1
- 0.15.0-1build1
- 0.15.0-1ubuntu0.2
All versions (7)
- 0.15.0-1ubuntu0.2+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
kitty Ubuntu Pro 22.04 LTS
- Versions
- 0.19.3-1
- 0.21.2-1
- 0.21.2-1build1
- 0.21.2-1ubuntu0.22.04.1
- 0.21.2-1ubuntu0.22.04.1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
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 (13)
- 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
- 0.32.2-1ubuntu0.4+esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
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 26.10
- Versions
- 0.45.0-1build1
- 0.47.0-3
- 0.47.4-1
- 0.48.2-1.1ubuntu1
- 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
All versions (7)
- 0.45.0-1ubuntu0.1~esm2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published