Skip to content
Threat Feed
high advisory

CVE-2026-42167: Remote Code Execution via ProFTPD mod_sql

An authenticated SQL injection vulnerability (CVE-2026-42167) in the ProFTPD mod_sql module allows attackers to achieve remote code execution, with a functional exploit now publicly available.

CVE search metadata

CVE search record: CVE-2026-42167. Severity: high. CVSS: 8.1. EPSS: 4.28%. KEV: no. Product: ProFTPD. Brief: CVE-2026-42167: Remote Code Execution via ProFTPD mod_sql. Brief link: https://feed.craftedsignal.io/briefs/2026-08-proftpd-sqli/

CVE-2026-42167 is a critical vulnerability affecting the ProFTPD server, specifically within the mod_sql module. This vulnerability allows an authenticated user to perform SQL injection attacks, which can be further weaponized to achieve remote code execution on the underlying host. The vulnerability was disclosed alongside a functional exploit (EDB-52658), significantly increasing the risk to environments where ProFTPD is deployed with SQL-based authentication or logging enabled. Defenders should prioritize patching or disabling the mod_sql module if it is not strictly required, as the public availability of the exploit simplifies the path to system compromise for attackers who have obtained valid FTP credentials.

Impact

Successful exploitation allows for arbitrary code execution with the privileges of the ProFTPD service. This can lead to full system compromise, data exfiltration, and lateral movement within the network. The scope of impact is limited to servers running ProFTPD with the mod_sql module enabled.

Recommendation

  • Apply vendor patches for CVE-2026-42167 across all affected ProFTPD instances immediately.
  • Disable the mod_sql module in the ProFTPD configuration file if it is not necessary for business operations.
  • Monitor authentication logs for suspicious patterns originating from authenticated FTP users, specifically those interacting with database-backed authentication components.

Immediate actions

Patch ProFTPD instances to address CVE-2026-42167

IT Operations 48h

Mitigations

Disable mod_sql module if not in use

immediate IT Operations

CVE-2026-42167