{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.1.0"
                  },
                  {
                    "fixed": "4.6.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "59d1d8a8ee9679173562bab7415808e4937ffa36"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "netatalk-4-6-0",
                "range": [
                  {
                    "fixed": "82ece85fe49a5b0a4a92588117b3725861cc5a8b"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "82ece85fe49a5b0a4a92588117b3725861cc5a8b"
            },
            {
              "fixed": "59d1d8a8ee9679173562bab7415808e4937ffa36"
            }
          ],
          "repo": "https://github.com/netatalk/netatalk",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-59wq-42q3-h8fr"
  ],
  "database_specific": {
    "cna_assigner": "AISLE",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142059.json"
  },
  "details": "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.",
  "id": "CVE-2026-142059",
  "modified": "2026-12-02T18:45:59.450867337Z",
  "published": "2026-12-02T11:46:37.466Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142059.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Netatalk/netatalk"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Netatalk/netatalk/commit/59d1d8a8ee9679173562bab7415808e4937ffa36"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-6-0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Netatalk/netatalk/security/advisories/GHSA-59wq-42q3-h8fr"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142059"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Netatalk 2.1.0 before 4.6.0 Root File Deletion via Symlinked .AppleDouble in dbd"
}