{"id":"CVE-2026-142087","summary":"Netatalk 4.5.0 before 4.6.1 Root File Permission Change via Symlinked SQLite CNID Database","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.","aliases":["GHSA-9wf7-p999-rq2f"],"modified":"2026-12-02T18:00:17.702781592Z","published":"2026-12-02T16:04:31.504Z","database_specific":{"cwe_ids":["CWE-59"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142087.json","cna_assigner":"AISLE"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/netatalk/netatalk","events":[{"introduced":"3fcb0e10345bd2ff4bc1e27265f7c9cd1c9e182b"},{"fixed":"a4c17ab24b7c3017ff40945a11b0359145dfaff0"},{"fixed":"f884106093544e2b98a38d3476397f67ffeb62cf"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"4.5.0"},{"fixed":"4.6.1"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"f884106093544e2b98a38d3476397f67ffeb62cf"}],"source":"REFERENCES_COMMIT"},{"original_tag":"netatalk-4-6-1","range":[{"fixed":"a4c17ab24b7c3017ff40945a11b0359145dfaff0"}],"source":"REFERENCES_TAG"}]}}],"versions":["netatalk-4-6-0","netatalk-4-5-0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142087.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}