CVE-2026-80430
CVE-2026-80430 · Improper link resolution in the kitty drag and drop protocol allows a client to create files outside the staging directory
CVSS 4.6 · Mittel · EPSS 0,2% · Korrektur verfügbar
Vergleichen Sie mit Ihrer installierten Version
Betroffene Produkte und bekannte korrigierte Versionen sind öffentlich. Vergleichen Sie diese mit Ihrer installierten Version.
- kittyAuf 0.49.0 aktualisieren
- kitty Debian 12Keine Korrektur veröffentlicht
- kitty Debian 13Keine Korrektur veröffentlicht
- kitty Debian 14Keine Korrektur veröffentlicht
- und 5 weitere
Installierte Version prüfen:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="kitty"'Bewerten Sie die Risiken Ihres Servers
Die kostenlose Prüfung liefert ohne Registrierung eine Bewertung und eine Risikoübersicht nach Technologie-Stacks. Sie beantwortet nicht, ob diese einzelne Schwachstelle Sie betrifft.
Die Überwachung gleicht öffentliche Informationen mit der Software Ihrer Server ab. Sie erhalten detaillierte Funde und eine Reihenfolge für Updates.
curl -fsSL https://patchfirst.dev/check.sh | shKanäle bieten allgemeine Nachrichten zu Technologien; neue Funde auf Ihren Servern meldet die Überwachung im Dashboard, per Browser-Benachrichtigung, in Telegram oder über einen Webhook.
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
Improper Link Resolution Before File Access in the drag source staging path of the drag and drop protocol in kitty from 0.47.0 before 0.49.0 allows a program writing to the terminal to create files and directories at paths outside the staging directory, because subdir_data_for_drag() in kitty/dnd.c resolves a descendant of the staged item tree by constructing a path string and opening it with safe_open(path, O_DIRECTORY | O_RDONLY, 0) rather than by walking the tree one component at a time, so a client that declares two entries with the same name, the first a symlink whose target is an arbitrary absolute path and the second a directory, causes mkdirat() to fail with EEXIST, which the code ignores, and causes the subsequent path resolution to follow the symlink and return a directory descriptor outside the staging directory, which is then passed as the dirfd argument to add_payload() and used for every further create operation on that item and its descendants. Entry names are sanitised against path separators and dot components, but symlink targets are not validated. Files are created with O_CREAT | O_WRONLY | O_EXCL at mode 0644, so existing files cannot be overwritten, and directories are created with mkdirat() at mode 0755, so the attacker can create intermediate directories that did not previously exist. This results in the creation of files and directories at any path writable by the user running kitty, provided the symlink target is an existing directory.
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system
Betroffene Produkte und Versionen
kitty
- Softwareversionen
- ≥ 0.47.0, < 0.49.0: Betroffen (semver)
Auf 0.49.0 aktualisieren
kitty Debian 12
- Softwareversionen
- 0.26.5-5
- 0.30.1-1
- 0.31.0-1
- 0.31.0-2
- 0.31.0-3
- 0.31.0-4
Alle Versionen (40)
- 0.32.0-1
- 0.32.1-1
- 0.32.2-1
- 0.33.0-2
- 0.33.1-1
- 0.34.1-1
- 0.35.1-1
- 0.35.2-1
- 0.36.1-1
- 0.36.4-1
- 0.36.4-2
- 0.36.4-3
- 0.37.0-1
- 0.38.1-1
- 0.39.0-1
- 0.39.1-1
- 0.40.0-1
- 0.41.1-1
- 0.41.1-2
- 0.42.1-1
- 0.42.2-1
- 0.43.1-1
- 0.44.0-1
- 0.45.0-1
- 0.45.0-2
- 0.46.1-1
- 0.46.2-1
- 0.47.0-1
- 0.47.0-2
- 0.47.0-3
- 0.47.3-1
- 0.47.4-1
- 0.48.2-1
- 0.48.2-1.1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
kitty Debian 13
- Softwareversionen
- 0.41.1-2
- 0.41.1-2+deb13u1
- 0.41.1-2+deb13u2
- 0.42.1-1
- 0.42.2-1
- 0.43.1-1
Alle Versionen (18)
- 0.44.0-1
- 0.45.0-1
- 0.45.0-2
- 0.46.1-1
- 0.46.2-1
- 0.47.0-1
- 0.47.0-2
- 0.47.0-3
- 0.47.3-1
- 0.47.4-1
- 0.48.2-1
- 0.48.2-1.1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
kitty Debian 14
- Softwareversionen
- 0.41.1-2
- 0.42.1-1
- 0.42.2-1
- 0.43.1-1
- 0.44.0-1
- 0.45.0-1
Alle Versionen (16)
- 0.45.0-2
- 0.46.1-1
- 0.46.2-1
- 0.47.0-1
- 0.47.0-2
- 0.47.0-3
- 0.47.3-1
- 0.47.4-1
- 0.48.2-1
- 0.48.2-1.1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
kitty Ubuntu Pro 20.04 LTS
- Softwareversionen
- 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
Alle Versionen (7)
- 0.15.0-1ubuntu0.2+esm1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
kitty Ubuntu Pro 22.04 LTS
- Softwareversionen
- 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
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
kitty Ubuntu Pro 24.04 LTS
- Softwareversionen
- 0.26.5-3ubuntu2
- 0.26.5-5ubuntu1
- 0.31.0-3
- 0.31.0-4
- 0.32.2-1
- 0.32.2-1build2
Alle Versionen (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
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
kitty Ubuntu 26.10
- Softwareversionen
- 0.45.0-1build1
- 0.47.0-3
- 0.47.4-1
- 0.48.2-1.1ubuntu1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
kitty Ubuntu Pro 26.04 LTS
- Softwareversionen
- 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
Alle Versionen (7)
- 0.45.0-1ubuntu0.1~esm2
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
Originalquellen
- https://github.com/kovidgoyal/kitty/commit/554908ed0b4d010cf9821c75449c7f7c79a6170a
- https://github.com/kovidgoyal/kitty/commit/3c3133d3399257492347f535d8d191680803b25d
- https://github.com/kovidgoyal/kitty/releases/tag/v0.49.0
- https://secur0.com/en/cna/cve-list/cve-2026-80430-kitty-dnd-symlink-traversal
- https://nvd.nist.gov/vuln/detail/CVE-2026-80430