Files
Ferdinand Thiessen c1dd135bf1 fix(files): check source permissions in Node::move()
`Node::move()` only checked that the target folder accepts new files, but
never that the source may be moved away. Any caller passing it a node from
a share or mount without delete permissions could therefore move that
file out.

A rename within the same folder needs update permissions, or delete
permissions on the source and create permissions on the parent (the rules
of `DavUtil::canRename()` on newer versions). A move into another folder
requires the source to be deletable unless it is the root of a movable
mount.

Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-4RX49FAX.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-11-04 17:41:58 +01:00
..
2025-01-14 10:38:15 -01:00
2024-11-08 12:59:12 +01:00