Files
Ferdinand Thiessen b5e7afd35f 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.

Apply the same checks as WebDAV (`FilesPlugin::checkMove()`): a rename
within the same folder follows `DavUtil::canRename()`, 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 16:32:26 +00:00
..