Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessConnect to AFP service over network
-
DeliveryTrigger repeated ad_flush calls via file operation requests
-
ExploitRace file system state during check-to-use window
-
ExecutionSubstitute target path with attacker-controlled symlink or file
-
PersistRoot-privileged write operates on attacker-influenced path
-
ImpactCause limited, constrained data modification
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
|
| Exploitation Conditions | Exploitation requires Netatalk 3.0.0 through 4.4.2 to be running with AFP service reachable from the network. The ad_flush function is part of core AppleDouble metadata handling and is invoked during routine AFP file operations - no special non-default configuration appears necessary to reach the vulnerable code path beyond having an operational Netatalk AFP service. The CVSS confirms no authentication is required (PR:N) and no user interaction is needed (UI:N). However, exploitation is significantly constrained by AC:H: the attacker must win a precisely timed race condition in a root-privileged process, which typically requires the ability to create or manipulate file system objects (symlinks, files) in directories relevant to the metadata flush operation - whether this requires any local file system access in addition to the network vector is not explicitly clarified in available data and should be confirmed with the vendor. The impact is strictly bounded to limited file modification; confidentiality and availability are unaffected. |
| Impact | Multiple signals converge on a low real-world risk rating, though the network attack vector warrants attention in internet-exposed deployments. CVSS AV:N/PR:N confirms unauthenticated network reachability with no user interaction - a broad exposure profile. However, AC:H (High attack complexity) materially constrains exploitability: winning a TOCTOU race against a root-level file flush operation requires precise timing control that is non-trivial to achieve reliably, especially remotely. Impact is bounded to I:L (Low integrity) with C:N and A:N, meaning no data exfiltration and no service disruption. No EPSS score was provided in the input data, preventing quantitative exploitation probability assessment - this is a data gap. The vulnerability is absent from CISA KEV and no public exploit code has been identified, both corroborating the low-exploitation-risk profile. One inconsistency worth flagging: the reporter (Securin) tagged this as 'Information Disclosure,' which conflicts with the CVE description specifying data modification and with the CVSS confidentiality impact of C:N - this discrepancy is unresolved and should be clarified via the vendor advisory. Overall, this is not a prioritized emergency patch for most organizations but should enter the standard patch cycle for any internet-facing Netatalk deployment. |
| Exploit ScenarioDerived | A remote attacker targeting a network-accessible Netatalk AFP server sends AFP file operation requests designed to repeatedly trigger ad_flush, while concurrently racing to swap a symlink or file path in the relevant directory between the function's check and use operations - for example, replacing a legitimate metadata file with a symlink pointing to a sensitive system file during the narrow root-privileged write window. If the race is won, the root process writes data to the attacker-influenced destination, producing constrained file modification. No public exploit code exists at time of analysis, meaning this scenario currently requires custom tooling and precise environmental timing control. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 21, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Netatalk gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Netatalk before 3.1.12 is vulnerable to an out of bounds write in dsi_opensess.c. Rated critical severity (CVSS 9.8), th
Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow resulting in code execution via a crafted .appl fi
Heap buffer overflow in the Netatalk cnid_metad daemon's comm_rcv() function allows remote attackers with low-level priv
A Type Confusion vulnerability was found in the Spotlight RPC functions in afpd in Netatalk 3.1.x before 3.1.17. Rated c
The combination of primitives offered by SMB and AFP in their default configuration allows the arbitrary writing of file
Stack-based buffer overflow in Netatalk versions 2.0.4 through 4.4.2 allows authenticated remote attackers to corrupt me
SQL injection in Netatalk 3.1.0 through 4.4.2 allows authenticated remote attackers to compromise the MySQL-backed CNID
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Synology Dis
Arbitrary file read in Netatalk 3.0.2 through 4.4.2 allows authenticated remote attackers to create attacker-controlled
Heap out-of-bounds write in Netatalk's AppleDouble extended-attribute backend (ea = ad) lets an authenticated AFP client
Path traversal via extended attribute (ea) handling in Netatalk 2.1.0 through 4.4.2 allows authenticated remote attacker
Shell injection in Netatalk 3.1.4 through 4.4.2 allows authenticated remote attackers to execute arbitrary OS commands t
EUVD-2026-31245
GHSA-m59f-94xh-r8f7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB