CVE-2026-54056
published 2026-06-12CVE-2026-54056: 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…
PriorityP339high7.1CVSS 3.1
AVNACLPRNUIRSUCNIHAL
EPSS
0.27%
18.6th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| kovidgoyal | kitty | — | — |
| kovidgoyal | kitty | >= 0.47.0 < 0.47.2 | 0.47.2 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-54056 kitty: Kitty: Arbitrary file overwrite via malicious drag-and-drop
bugzilla·2026-06-12·CVSS 7.6
CVE-2026-54056 [HIGH] CVE-2026-54056 kitty: Kitty: Arbitrary file overwrite via malicious drag-and-drop
CVE-2026-54056 kitty: Kitty: Arbitrary file overwrite via malicious drag-and-drop
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
Bugzilla
CVE-2026-54056 kitty: Kitty: Arbitrary file overwrite via malicious drag-and-drop [fedora-all]
bugzilla·2026-06-12·CVSS 7.6
CVE-2026-54056 [HIGH] CVE-2026-54056 kitty: Kitty: Arbitrary file overwrite via malicious drag-and-drop [fedora-all]
CVE-2026-54056 kitty: Kitty: Arbitrary file overwrite via malicious drag-and-drop [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Bugzilla
CVE-2026-54056 kitty: Kitty: Arbitrary file overwrite via malicious drag-and-drop [epel-all]
bugzilla·2026-06-12·CVSS 7.6
CVE-2026-54056 [HIGH] CVE-2026-54056 kitty: Kitty: Arbitrary file overwrite via malicious drag-and-drop [epel-all]
CVE-2026-54056 kitty: Kitty: Arbitrary file overwrite via malicious drag-and-drop [epel-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
2026-06-12
Published