Skip to content

ProFTPD CVE-2026-42167 — Authentication Bypass Leading to Remote Code Execution

A vulnerability in ProFTPD — one of the most widely deployed open-source FTP server implementations — allows a remote unauthenticated attacker to bypass authentication controls and achieve code execution on the server. CVE-2026-42167 affects ProFTPD versions prior to 1.3.9a. FTP servers are frequently forgotten in patch management programmes; administrators should verify ProFTPD version and apply the update.

Article network-security

ZeroPath security researchers have published details of CVE-2026-42167, an authentication bypass vulnerability in ProFTPD that under specific conditions allows an unauthenticated remote attacker to progress to arbitrary code execution on the server. ProFTPD is one of the most widely deployed FTP server implementations on Linux and Unix systems, used by hosting providers, file transfer infrastructure, legacy enterprise systems, and embedded storage appliances.

Vulnerability Details

The vulnerability affects ProFTPD’s authentication state machine in the interaction between the PASS command handler and a specific sequence of commands that can cause the server to advance a connection’s authentication state without a valid password being supplied. ZeroPath’s research describes the root cause as an incorrect state transition that can be triggered by a crafted sequence of FTP protocol messages sent before authentication completes.

When authentication state is incorrectly advanced, the attacker gains access to post-authentication ProFTPD commands, including file system operations and — depending on the ProFTPD module configuration — commands that can be abused for code execution. The path to code execution depends on the specific ProFTPD module configuration:

  • In configurations with mod_exec or mod_exec_on_cmd enabled, arbitrary system commands can be executed
  • In configurations with world-writable file upload directories accessible to system paths, uploaded files can be leveraged for execution via subsequent service interactions

Without code execution: The authentication bypass alone enables unauthenticated file system access — listing directories, downloading files, and potentially uploading files to writable directories. In a file transfer server context, this means exfiltration of any data the FTP server exposes.

Affected Versions

ProFTPD versions prior to 1.3.9a are affected. The fix is included in ProFTPD 1.3.9a and 1.3.8d (the current stable and maintenance branches).

Check your installed version:

proftpd --version

Update via your distribution package manager or from the ProFTPD project:

# Debian/Ubuntu
apt update && apt install proftpd-basic

# RHEL/CentOS (EPEL)
dnf update proftpd

Why FTP Servers Accumulate Patch Debt

FTP servers are a category of infrastructure that frequently falls out of regular patch management cycles. The reasons are familiar:

“No one uses FTP anymore” — an assumption that is true for newly built systems but false for legacy infrastructure. File transfer workflows built around FTP in the 2000s and 2010s often persist in manufacturing, logistics, and healthcare environments where changing the transfer protocol requires coordination with dozens of upstream and downstream partners.

Embedded systems: ProFTPD is included in the firmware of numerous NAS devices, storage appliances, and embedded Linux systems. These devices receive firmware updates infrequently if at all, and the ProFTPD installation within them is rarely managed separately.

Overlooked in asset inventories: FTP services running on non-standard ports or inside internal network segments often do not appear in vulnerability scan results, leaving them outside the scope of patch management programmes.

Organisations should run an internal scan for ProFTPD instances (listening on TCP/21 or alternative FTP ports) and identify any instances running pre-1.3.9a versions. Given the authentication bypass nature of the vulnerability, internet-accessible ProFTPD instances should be treated as immediate remediation priority.

Share this article

Related Intelligence

🌐 Network

SonicWall CVE-2026-0204 — Authentication Bypass in SSLVPN Allows Unauthenticated Network Access

SonicWall has disclosed CVE-2026-0204, an authentication bypass vulnerability in the SonicWall SSLVPN product that allows a remote attacker to bypass VPN authentication and gain access to the protected network without valid credentials. SonicWall SSLVPN appliances are widely deployed as enterprise and SMB VPN concentrators. Patch available — update immediately.

#sonicwall +7
🌐 Network

Critical Exim MTA Remote Code Execution CVE-2026-45185 — Use-After-Free in GnuTLS Shutdown Affects Millions of Linux Email Servers

A critical use-after-free vulnerability (CVE-2026-45185) in Exim's GnuTLS TLS session shutdown handler enables unauthenticated remote code execution on any Exim installation compiled with GnuTLS support. Exim is the default MTA on Debian, Ubuntu, and many Linux distributions, putting tens of millions of internet-facing mail servers at risk. Patches are available and should be applied immediately.

#exim +4
🌐 Network

PAN-OS CVE-2026-0300 — Unauthenticated RCE Zero-Day Actively Exploited in Firewall Espionage Attacks

A critical unauthenticated remote code execution vulnerability in Palo Alto Networks PAN-OS has been under active exploitation since at least early April 2026, linked to espionage-motivated threat actors targeting government and critical infrastructure networks. CVE-2026-0300 affects the User-ID authentication portal on VM-Series and hardware firewalls; CISA added it to the KEV catalogue on 6 May 2026. Patches are available — apply immediately.

#palo-alto +9