PatchSiren cyber security CVE debrief
CVE-2026-80430 Kovid Goyal CVE debrief
A vulnerability in kitty's drag and drop protocol allows a program writing to the terminal to create files and directories outside the staging directory. This issue exists in kitty versions from 0.47.0 before 0.49.0. The vulnerability arises from improper link resolution before file access, enabling an attacker to create files and directories at arbitrary paths writable by the user running kitty. Entry names are sanitized against path separators and dot components, but symlink targets are not validated. Files are created with permissions 0644, and directories with 0755, allowing for the creation of intermediate directories. Defenders should assess exposure and prioritize patching.
- Vendor
- Kovid Goyal
- Product
- kitty
- CVSS
- MEDIUM 4.6
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-25
- Original CVE updated
- 2026-09-25
- Advisory published
- 2026-09-25
- Advisory updated
- 2026-09-25
Who should care
Defenders responsible for systems using kitty should assess exposure and prioritize patching. This includes reviewing kitty versions in use, applying patches, and monitoring for suspicious activity. Additionally, defenders should consider implementing compensating controls, such as restricting terminal access to trusted programs and enhancing logging and monitoring capabilities.
Why it matters
CVE-2026-80430 allows a program writing to the terminal to create files and directories outside the staging directory in kitty versions from 0.47.0 before 0.49.0. Defenders should prioritize verifying kitty versions and applying patches to prevent unauthorized file creation.
- Potential unauthorized file creation
- Possible escalation of privileges
- Required verification of kitty versions
- Necessary monitoring for suspicious activity
Technical summary
The vulnerability exists in kitty's drag and drop protocol, allowing a program writing to the terminal to create files and directories outside the staging directory. This issue is due to improper link resolution before file access. The vulnerability arises from the way kitty resolves descendant paths in the staged item tree. A client can declare two entries with the same name, the first a symlink whose target is an arbitrary absolute path and the second a directory, causing mkdirat() to fail with EEXIST, which the code ignores, and causing the subsequent path resolution to follow the symlink and return a directory descriptor outside the staging directory.
Defensive priority
Defenders should prioritize verifying kitty versions and applying patches to prevent unauthorized file creation.
Recommended defensive actions
- Verify kitty version and apply patches
- Restrict terminal access to trusted programs
- Monitor for suspicious file creation
- Implement additional logging and monitoring
- Conduct regular vulnerability assessments
- Review and update incident response plans
- Ensure proper configuration of kitty and related systems
Evidence notes
The CVE record and NVD vulnerability detail provide information on the issue. Additional details are available in the source references. The vulnerability is caused by improper link resolution in kitty's drag and drop protocol, which allows a program writing to the terminal to create files and directories outside the staging directory. The issue exists in kitty versions from 0.47.0 before 0.49.0. The CVE record and NVD vulnerability detail provide information on the issue. The kitty commit references provide additional technical depth
Sources and references
Verified primary and authoritative sources
-
CVE-2026-80430 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-80430
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-80430 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-80430
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/kovidgoyal/kitty/commit/3c3133d3399257492347f535d8d191680803b25d
4daa8cea-433a-44bd-9456-53b127fc289a
-
Source reference
Unverified legacy reference
URL: https://github.com/kovidgoyal/kitty/commit/554908ed0b4d010cf9821c75449c7f7c79a6170a
4daa8cea-433a-44bd-9456-53b127fc289a
-
Source reference
Unverified legacy reference
URL: https://github.com/kovidgoyal/kitty/releases/tag/v0.49.0
4daa8cea-433a-44bd-9456-53b127fc289a
-
Source reference
Unverified legacy reference
URL: https://secur0.com/en/cna/cve-list/cve-2026-80430-kitty-dnd-symlink-traversal
4daa8cea-433a-44bd-9456-53b127fc289a
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.