{"id":"CVE-2026-142059","aliases":["DEBIAN-CVE-2026-142059","EUVD-2026-141367","GHSA-59wq-42q3-h8fr","GHSA-f7c8-x4vv-7x3r"],"status":"published","title":"Netatalk 2.1.0 before 4.6.0 Root File Deletion via Symlinked .AppleDouble in dbd","description":"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.","severity":{"version":"4.0","score":5.2,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","level":"medium","assessor":"cna","from":"cve","others":[{"version":"4.0","score":5.2,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00279,"percentile":0.21814,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-59"],"published":"2026-12-02T11:46:37Z","modified":"2026-12-04T08:00:22Z","affected":[{"source":"osv","ecosystem":"Debian:13","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.3~ds-1","4.2.3~ds-1+deb13u1","4.2.3~ds-1+deb13u2","4.2.3~ds-2","4.2.3~ds-2.1","4.4.1~ds-1","4.4.2~ds-1","4.4.3~ds-1","4.5.0~ds-1","4.5.0~ds-2","4.5.0~ds-3","4.5.1~ds-1"]},{"source":"osv","ecosystem":"Debian:14","package":"netatalk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.2.3~ds-1","4.2.3~ds-2","4.2.3~ds-2.1","4.4.1~ds-1","4.4.2~ds-1","4.4.3~ds-1","4.5.0~ds-1","4.5.0~ds-2","4.5.0~ds-3","4.5.1~ds-1"]}],"products":[{"vendor":"netatalk","product":"netatalk"}],"references":[{"url":"https://github.com/Netatalk/netatalk/security/advisories/GHSA-59wq-42q3-h8fr","tags":["advisory"]},{"url":"https://github.com/Netatalk/netatalk/commit/59d1d8a8ee9679173562bab7415808e4937ffa36","tags":["fix"]},{"url":"https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-6-0","tags":["web"]},{"url":"https://github.com/Netatalk/netatalk","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142059","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-f7c8-x4vv-7x3r"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142059.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-142059","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-142059","title":"Netatalk 2.1.0 before 4.6.0 Root File Deletion via Symlinked .AppleDouble in dbd","description":"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.","status":"published","published":"2026-12-02T11:46:37.466Z","modified":"2026-12-02T17:46:38.27Z","cvss":[{"version":"4.0","score":5.2,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","level":"medium","assessor":"cna"}],"cwes":["CWE-59"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T17:51:01.318071Z"}],"euvd":[{"id":"EUVD-2026-141367","description":"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.","status":"published","published":"2026-12-02T11:46:37Z","modified":"2026-12-02T17:46:38Z","cvss":[{"version":"4.0","score":5.2,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-12-02T15:25:30.217075Z"}],"ghsa":[{"id":"GHSA-f7c8-x4vv-7x3r","title":"Netatalk 2.1.0 before 4.6.0 contains an improper link resolution vulnerability in check_addir()...","description":"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.","status":"published","published":"2026-12-02T12:30:31Z","modified":"2026-12-02T12:30:41Z","cvss":[{"version":"4.0","score":5.2,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"cwes":["CWE-59"],"updated_at":"2026-12-02T12:36:45.151628Z"}],"nvd":[{"id":"CVE-2026-142059","description":"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.","status":"published","published":"2026-12-02T12:17:22.45Z","modified":"2026-12-02T18:18:58.487Z","cvss":[{"version":"4.0","score":5.2,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"}],"cwes":["CWE-59"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T18:25:08.012632Z"}],"osv":[{"id":"CVE-2026-142059","title":"Netatalk 2.1.0 before 4.6.0 Root File Deletion via Symlinked .AppleDouble in dbd","description":"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.","status":"published","published":"2026-12-02T11:46:37.466Z","modified":"2026-12-03T21:01:59.758408436Z","cvss":[{"version":"4.0","score":5.2,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-59"],"updated_at":"2026-12-03T21:10:05.302032Z"},{"id":"DEBIAN-CVE-2026-142059","upstream":["CVE-2026-142059"],"description":"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.","status":"published","published":"2026-12-02T12:17:22.45Z","modified":"2026-12-04T08:00:22.113961589Z","cvss":[{"version":"4.0","score":5.2,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-12-04T08:34:29.066102Z"}]}}
