{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.5.0"
                  },
                  {
                    "fixed": "4.6.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "f884106093544e2b98a38d3476397f67ffeb62cf"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "netatalk-4-6-1",
                "range": [
                  {
                    "fixed": "a4c17ab24b7c3017ff40945a11b0359145dfaff0"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "3fcb0e10345bd2ff4bc1e27265f7c9cd1c9e182b"
            },
            {
              "fixed": "a4c17ab24b7c3017ff40945a11b0359145dfaff0"
            },
            {
              "fixed": "f884106093544e2b98a38d3476397f67ffeb62cf"
            }
          ],
          "repo": "https://github.com/netatalk/netatalk",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-9wf7-p999-rq2f"
  ],
  "database_specific": {
    "cna_assigner": "AISLE",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142087.json"
  },
  "details": "Netatalk 4.5.0 before 4.6.1 contains an improper link resolution vulnerability in cnid_sqlite_open() in libatalk/cnid/sqlite/cnid_sqlite.c, which creates the CNID database directory world-writable with the sticky bit and then, as root, calls chmod() with mode 0666 on the predictable database, WAL, and shared-memory paths, following symbolic links. Local users can pre-create a symbolic link at one of these paths so that Netatalk makes an arbitrary root-owned file world-readable and world-writable, potentially leading to privilege escalation.",
  "id": "CVE-2026-142087",
  "modified": "2026-12-02T17:45:51.126447667Z",
  "published": "2026-12-02T16:04:31.504Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142087.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Netatalk/netatalk"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Netatalk/netatalk/commit/f884106093544e2b98a38d3476397f67ffeb62cf"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-6-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Netatalk/netatalk/security/advisories/GHSA-9wf7-p999-rq2f"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142087"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Netatalk 4.5.0 before 4.6.1 Root File Permission Change via Symlinked SQLite CNID Database"
}