CVE-2026-142060: Netatalk 1.5.0 before 4.6.0 Root File Append via Setuid afppasswd
Netatalk 1.5.0 before 4.6.0 contains an improper privilege management vulnerability in afppasswd (bin/afppasswd/afppasswd.c), which when installed setuid-root accepts the administrative -a and -p options from unprivileged callers and opens the selected file for writing with root privileges before verifying the caller. Local users can append a fixed-format SRP placeholder record to any existing root-writable file, corrupting configuration, credential, or service state files.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.6.0
Event History
Frequently Asked Questions
Who can exploit this issue?
An unprivileged local user can exploit it, but only where afppasswd is installed setuid-root. Remote access alone is not described as sufficient.
What does an attacker need to do to trigger the vulnerable behavior?
The attacker needs to invoke afppasswd with the administrative -a and -p options and select an existing file that root can write. The program opens the selected file with root privileges before verifying the caller.
What is the practical impact?
A successful exploit appends a fixed-format SRP placeholder record to the chosen file. This can corrupt configuration, credential, or service-state files rather than allowing arbitrary file content to be written.
Which versions are affected?
Netatalk versions from 1.5.0 before 4.6.0 are affected. The referenced 4.6.0 release indicates that version contains the fix.