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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Connect to AFP service over network
  2. Delivery
    Trigger repeated ad_flush calls via file operation requests
  3. Exploit
    Race file system state during check-to-use window
  4. Execution
    Substitute target path with attacker-controlled symlink or file
  5. Persist
    Root-privileged write operates on attacker-influenced path
  6. Impact
    Cause 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Netatalk 3.0.0 ≤4.4.2

Affected Packages

euvd netatalk no fix

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

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

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

EPSS Score
0.0%
Top 89% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-103933 HIGH
7.7 Nov 20

Heap out-of-bounds write in Netatalk's AppleDouble extended-attribute backend (ea = ad) lets an authenticated AFP client

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

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