Skip to main content

Netatalk CVE-2026-7837

| EUVDEUVD-2026-31245 LOW
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-05-21 securin GHSA-m59f-94xh-r8f7
3.7
CVSS 3.1 · Vendor: securin

Severity by source

Vendor (securin) PRIMARY
3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Primary rating from Vendor (securin) · only source for this CVE.

CVSS VectorVendor: securin

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

1
Analysis Generated
May 21, 2026 - 09:33 vuln.today

DescriptionCVE.org

A time-of-check time-of-use (TOCTOU) condition in the ad_flush function in Netatalk 3.0.0 through 4.4.2 involves root-privileged file operations, which may allow a remote attacker to cause limited data modification under specific race conditions.

AnalysisAI

TOCTOU race condition in Netatalk's ad_flush function across versions 3.0.0 through 4.4.2 exposes root-privileged file operations to remote manipulation, enabling limited data modification under constrained timing conditions. Unauthenticated network attackers (PR:N, AV:N per CVSS) must win a precise race window, making this high-complexity and low-impact - CVSS scores it 3.7 (Low) with integrity-only consequences and no confidentiality or availability impact. No public exploit code exists and the vulnerability is not confirmed actively exploited in CISA KEV at time of analysis.

Technical ContextAI

Netatalk is an open-source AFP (Apple Filing Protocol) server enabling Unix/Linux systems to serve files to macOS clients. The vulnerable ad_flush function handles AppleDouble format metadata flushing - AppleDouble is the encoding Netatalk uses to store Mac-specific resource forks and Finder metadata alongside data files, and ad_flush is invoked during normal AFP file operations to persist this metadata. CWE-367 (TOCTOU Race Condition) defines the root cause: the function checks a file's state at one time (the 'check') and acts on it at a later time (the 'use'), creating a window in which the file system state can be altered by an external actor. Because ad_flush executes with root privileges, a successful race allows the privileged process to operate on an attacker-influenced file path rather than the intended target. The CPE string cpe:2.3:a:netatalk:netatalk:*:*:*:*:*:*:*:* carries no OS-specific qualifier, indicating the flaw spans all platforms running this software version range.

RemediationAI

Consult the vendor security advisory at https://netatalk.io/security/CVE-2026-7837 and upgrade Netatalk to the first release beyond 4.4.2 that addresses this CVE - an exact fixed version number was not independently confirmed from the provided input data, so administrators must verify the target upgrade version directly from the advisory before patching. If an immediate upgrade is operationally infeasible, restrict AFP service exposure to trusted internal network segments via firewall ACLs, eliminating the network attack vector at the cost of reduced remote macOS client accessibility. As a more aggressive workaround, disabling AppleDouble metadata support (if operationally acceptable) would remove the vulnerable ad_flush code path, but this will break Mac resource fork and Finder metadata compatibility for AFP clients. Organizations that no longer have active macOS AFP clients should evaluate whether Netatalk remains necessary and consider decommissioning the service entirely.

CVE-2018-1160 CRITICAL POC
9.8 Dec 20

Netatalk before 3.1.12 is vulnerable to an out of bounds write in dsi_opensess.c. Rated critical severity (CVSS 9.8), th

CVE-2022-45188 HIGH POC
7.8 Nov 12

Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow resulting in code execution via a crafted .appl fi

CVE-2026-44050 CRITICAL
9.9 May 21

Heap buffer overflow in the Netatalk cnid_metad daemon's comm_rcv() function allows remote attackers with low-level priv

CVE-2023-42464 CRITICAL
9.8 Sep 20

A Type Confusion vulnerability was found in the Spotlight RPC functions in afpd in Netatalk 3.1.x before 3.1.17. Rated c

CVE-2022-22995 CRITICAL
9.8 Mar 25

The combination of primitives offered by SMB and AFP in their default configuration allows the arbitrary writing of file

CVE-2026-44048 HIGH
8.8 May 21

Stack-based buffer overflow in Netatalk versions 2.0.4 through 4.4.2 allows authenticated remote attackers to corrupt me

CVE-2026-44047 HIGH
8.8 May 21

SQL injection in Netatalk 3.1.0 through 4.4.2 allows authenticated remote attackers to compromise the MySQL-backed CNID

CVE-2021-31439 HIGH
8.8 May 21

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Synology Dis

CVE-2026-44051 HIGH
8.1 May 21

Arbitrary file read in Netatalk 3.0.2 through 4.4.2 allows authenticated remote attackers to create attacker-controlled

CVE-2026-44068 HIGH
7.6 May 21

Path traversal via extended attribute (ea) handling in Netatalk 2.1.0 through 4.4.2 allows authenticated remote attacker

CVE-2026-44055 HIGH
7.5 May 21

Shell injection in Netatalk 3.1.4 through 4.4.2 allows authenticated remote attackers to execute arbitrary OS commands t

CVE-2026-44062 HIGH
7.5 May 21

Out-of-bounds write in Netatalk versions 2.0.4 through 4.4.2 stems from a missing o_len bounds check in the pull_charset

Share

CVE-2026-7837 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy