CVE-2026-142087

Netatalk 4.5.0 before 4.6.1 Root File Permission Change via Symlinked SQLite CNID Database

Published Dec 2, 2026 CVSS 4.0 · 7.3 High EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Netatalk 4.5.0 before 4.6.1 Root File Permission Change via Symlinked SQLite CNID Database
Weaknesses CWE-59
References
Metrics cvssV4_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'}

Subscriptions

No data.

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
AISLE
Published
Updated
Dec 2, 2026, 4:34 PM
Reserved
Dec 2, 2026, 11:49 AM
Status
Deferred
Published
Dec 2, 2026, 4:17 PM
Modified
Dec 2, 2026, 5:17 PM