{"id":"CVE-2026-142087","aliases":["DEBIAN-CVE-2026-142087","EUVD-2026-141506","GHSA-44ch-48f5-wp7v","GHSA-9wf7-p999-rq2f"],"status":"published","title":"Netatalk 4.5.0 before 4.6.1 Root File Permission Change via Symlinked SQLite CNID Database","description":"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.","severity":{"version":"4.0","score":7.3,"vector":"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","level":"high","assessor":"cna","from":"cve","others":[{"version":"4.0","score":7.3,"vector":"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/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":"high","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00278,"percentile":0.21591,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-59"],"published":"2026-12-02T16:04:31Z","modified":"2026-12-04T07:00:09Z","affected":[{"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-9wf7-p999-rq2f","tags":["advisory"]},{"url":"https://github.com/Netatalk/netatalk/commit/f884106093544e2b98a38d3476397f67ffeb62cf","tags":["fix"]},{"url":"https://github.com/Netatalk/netatalk/releases/tag/netatalk-4-6-1","tags":["web"]},{"url":"https://github.com/Netatalk/netatalk","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142087","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-44ch-48f5-wp7v"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142087.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-142087","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-142087","title":"Netatalk 4.5.0 before 4.6.1 Root File Permission Change via Symlinked SQLite CNID Database","description":"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.","status":"published","published":"2026-12-02T16:04:31.504Z","modified":"2026-12-03T04:56:50.261Z","cvss":[{"version":"4.0","score":7.3,"vector":"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","level":"high","assessor":"cna"}],"cwes":["CWE-59"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-02"},"updated_at":"2026-12-02T16:45:20.14055Z"}],"euvd":[{"id":"EUVD-2026-141506","description":"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.","status":"published","published":"2026-12-02T16:04:31Z","modified":"2026-12-03T04:56:50Z","cvss":[{"version":"4.0","score":7.3,"vector":"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","level":"high"}],"updated_at":"2026-12-02T21:27:23.966591Z"}],"ghsa":[{"id":"GHSA-44ch-48f5-wp7v","title":"Netatalk 4.5.0 before 4.6.1 contains an improper link resolution vulnerability in...","description":"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.","status":"published","published":"2026-12-02T18:31:39Z","modified":"2026-12-02T18:31:47Z","cvss":[{"version":"4.0","score":7.3,"vector":"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/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":"high"}],"cwes":["CWE-59"],"updated_at":"2026-12-02T18:38:43.029055Z"}],"nvd":[{"id":"CVE-2026-142087","description":"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.","status":"published","published":"2026-12-02T16:17:53.34Z","modified":"2026-12-03T05:19:10.59Z","cvss":[{"version":"4.0","score":7.3,"vector":"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/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":"high","assessor":"secondary"}],"cwes":["CWE-59"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-02"},"updated_at":"2026-12-02T17:24:49.74521Z"}],"osv":[{"id":"CVE-2026-142087","title":"Netatalk 4.5.0 before 4.6.1 Root File Permission Change via Symlinked SQLite CNID Database","description":"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.","status":"published","published":"2026-12-02T16:04:31.504Z","modified":"2026-12-03T21:01:52.406192392Z","cvss":[{"version":"4.0","score":7.3,"vector":"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","level":"high"}],"cwes":["CWE-59"],"updated_at":"2026-12-03T21:10:05.302032Z"},{"id":"DEBIAN-CVE-2026-142087","upstream":["CVE-2026-142087"],"description":"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.","status":"published","published":"2026-12-02T16:17:53.34Z","modified":"2026-12-04T07:00:09.582670066Z","cvss":[{"version":"4.0","score":7.3,"vector":"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/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":"high"}],"updated_at":"2026-12-04T07:32:02.828012Z"}]}}
