CVE-2026-142059: Netatalk 2.1.0 before 4.6.0 Root File Deletion via Symlinked .AppleDouble in dbd
Netatalk 2.1.0 before 4.6.0 contains an improper link resolution vulnerability in checkaddir() and readaddir() in bin/dbd/cmddbdscanvol.c, which open and chdir() into a volume's .AppleDouble directory without rejecting a symbolic link and then unlink entries that have no matching file in the parent directory. Local users who can replace a .AppleDouble entry in a volume directory, for example through shell, SFTP, or NFS access to the same storage, can redirect dbd into an arbitrary directory so that a later repair-mode run by an administrator deletes files there with root privileges.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
A local user who can replace a .AppleDouble entry in a volume directory is positioned to exploit it. The advisory examples include access through a shell, SFTP, or NFS to the same underlying storage.
What conditions are required for file deletion to occur?
The attacker must redirect dbd through a symbolic link, and an administrator must later run dbd in repair mode. The deletion occurs with root privileges when dbd removes entries that do not have a matching file in the parent directory.
What is the practical impact?
An attacker can cause dbd to operate in an arbitrary directory rather than the intended .AppleDouble directory. This can result in deletion of files in that redirected location with root privileges.
Which versions are affected?
Netatalk versions from 2.1.0 before 4.6.0 are affected.