CVE-2026-142087

Published Dec 2, 2026 Modified Dec 2, 2026 CWE-59

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.

Is your site exposed to CVE-2026-142087?

Run a free security scan — no signup, results in seconds.

Weakness Type (CWE)

CWE-59 CWE-59

References

Frequently Asked Questions

What is CVE-2026-142087? +
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.
How do I check if I'm vulnerable to CVE-2026-142087? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2026-142087 — free, no signup required.

Patch and protect

Block known exploits with a web application firewall while you patch, keep your own devices clean, or test the fix on a fresh server.

Compare VPS prices →

Affiliate links: we may earn a commission, your price stays the same.