CVE-2026-142086: Netatalk 3.1.2 before 4.6.1 File Deletion Outside AFP Volume via Vetoed Directory Symlink

Published Dec 2, 2026
·
Updated

Netatalk 3.1.2 before 4.6.1 contains an improper link resolution vulnerability in deletevetoedfiles() in etc/afpd/filedir.c, which classifies directory entries with stat() and so recursively enters a veto-matching symbolic link to a directory, deleting every file in the link target. Authenticated AFP users on a volume with delete veto files enabled can create a veto-matching symlink to a directory outside the volume and delete its parent to remove files there with the privileges of the Netatalk service.

Affected Software

1 affected component
Netatalk Netatalk>=3.1.2<4.6.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Netatalk to a version that resolves this vulnerability.

    Fixed in 4.6.1

Event History

Dec 2, 2026
CVE Published
via MITRE·04:04 PM
Data Sourced
via MITRE·04:04 PM
DescriptionWeakness
Data Sourced
via OSV·04:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Netatalk deployments from 3.1.2 before 4.6.1 are exposed when an AFP volume has delete veto files enabled and authenticated AFP users can create symbolic links and delete their parent directory on that volume.

2

What does an attacker need to exploit it?

An attacker needs valid AFP authentication and access to a volume configured with delete veto files enabled. They must create a veto-matching symbolic link to a directory outside the volume, then delete the symlink's parent directory.

3

What is the impact of successful exploitation?

The vulnerable cleanup routine can recursively delete every file in the directory targeted by the symbolic link, including files outside the AFP volume. Deletion occurs with the privileges of the Netatalk service.

4

What can be done if upgrading is not immediately possible?

Disable delete veto files on affected AFP volumes where possible. Also restrict AFP access so untrusted authenticated users cannot create the required symbolic links and delete their parent directories.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203