kitty/kittens/dnd
Kovid Goyal 72c2b119c3
dnd kitten: Never create remote directories through a staged symlink
The fix for CVE-2026-54056 only made remote regular file creation
exclusive. A remote source could still send a symlink and then a
directory with the same name, as names were only de-duplicated on
case insensitive filesystems. CreateDirAt() would then follow the
symlink and the directory's children would be written outside the
staging directory.

Always de-duplicate names, create remote directories exclusively and
never follow symlinks when opening a newly created directory.
2026-11-19 12:48:00 +05:30
..
__init__.py
birth_time_bsd.go Cleanup previous PR 2026-10-30 18:28:40 +05:30
birth_time_linux.go Cleanup previous PR 2026-10-30 18:28:40 +05:30
birth_time_others.go Cleanup previous PR 2026-10-30 18:28:40 +05:30
drag.go Handle small reads from files correctly 2026-05-17 13:50:41 +05:30
drop.go dnd kitten: Never create remote directories through a staged symlink 2026-11-19 12:48:00 +05:30
drop_test.go dnd kitten: Never create remote directories through a staged symlink 2026-11-19 12:48:00 +05:30
main.go dnd kitten: Fix failure to start in a non-writable directory 2026-11-12 18:54:46 +05:30
main.py Fix explicit stdin sources in the DnD kitten 2026-08-28 13:19:25 +05:00
render.go Fix hanging dnd kitten test 2026-10-30 14:56:32 +05:30