Read the docs

Root file deletion via symlinked .AppleDouble in Netatalk dbd

Priority LOW 39CWE-59Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

Netatalk from 2.1.0 before 4.6.0 has an improper link resolution flaw (CWE-59) in check_addir() and read_addir() in bin/dbd/cmd_dbd_scanvol.c. These functions open and change into a volume's .AppleDouble directory without rejecting a symbolic link, then unlink entries that have no matching file in the parent directory. A local user who can replace a .AppleDouble entry in a volume directory can redirect dbd into an arbitrary directory, so that a later repair-mode run by an administrator deletes files there with root privileges.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

Description from the CNA

Netatalk 2.1.0 before 4.6.0 contains an improper link resolution vulnerability in check_addir() and read_addir() in bin/dbd/cmd_dbd_scanvol.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.

Why it matters now

Fix Fixed netatalk (Netatalk): 4.6.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Netatalknetatalk2.1.0 to before 4.6.04.6.0Patch availableCNA
  • netatalk VendorNetatalk Affected 2.1.0 to before 4.6.0 Fixed in 4.6.0 Patch available CNA

Remediation

Upgrade netatalk to version 4.6.0 or later, which fixes the flaw.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

  • Fix · CNA netatalk (Netatalk) Fixed in 4.6.0

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    netatalk 4.6.0

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2026-102150 Out-of-bounds write in Netatalk file path decompositionPriority LOW 39
    • TI-2026-102149 Netatalk afppasswd lets local users append to root-writable filesPriority LOW 37

Timeline

  1. 2026-12-02 Threatist record created from CVE-2026-142059
  2. 2026-12-02 Alias added: GHSA-f7c8-x4vv-7x3r

References

  • TI-2018-01076 Out-of-bounds write in Netatalk CVSS 3.1CRITICAL 9.8
  • TI-2024-25689 Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow… CVSS 3.1CRITICAL 9.8
  • TI-2024-25690 Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow… CVSS 3.1HIGH 7.5
  • TI-2022-22254 Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow resulting in code… CVSS 3.1HIGH 7.8
  • TI-2022-21402 Heap-based buffer overflow in Netatalk CVSS 3.1CRITICAL 9.8
  • TI-2026-95949 Out-of-bounds heap read in Netatalk Spotlight RPC unmarshalling CVSS 3.1HIGH 7.1
See all 65 →

Sources