CVE-2026-142087: Netatalk 4.5.0 before 4.6.1 Root File Permission Change via Symlinked SQLite CNID Database

Published Dec 2, 2026
·
Updated

Netatalk 4.5.0 before 4.6.1 contains an improper link resolution vulnerability in cnidsqliteopen() in libatalk/cnid/sqlite/cnidsqlite.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.

Affected Software

1 affected component
Netatalk Netatalk>=4.5.0<4.6.1

Event History

Dec 2, 2026
CVE Published
via MITRE·04:04 PM
Data Sourced
via MITRE·04:04 PM
DescriptionWeakness
Data Sourced
via OSV·04:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

A local user who can pre-create symbolic links at the predictable CNID SQLite database, WAL, or shared-memory paths can exploit it. The affected directory is world-writable with the sticky bit, enabling local users to place those links.

2

What level of access is required for exploitation?

The attacker needs local access and the ability to create a symbolic link at one of the predictable CNID database-related paths before Netatalk performs the root-level chmod() operation. No remote exploitation path is described.

3

What is the impact if exploitation succeeds?

Netatalk can follow the attacker-controlled symbolic link while running as root and change the linked target file's permissions to 0666. This makes an arbitrary root-owned file world-readable and world-writable, which may enable privilege escalation.

4

Which versions are affected?

Netatalk 4.5.0 through versions before 4.6.1 are affected. Version 4.6.1 is identified as the release containing the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203