CVE-2026-42167
CWE-89Published: April 28, 2026· Updated: May 1, 2026
Official Description
mod_sql in ProFTPD before 1.3.9a allows remote attackers to execute arbitrary code via a username, in scenarios where there is logging of USER requests with an expansion such as %U, and the SQL backend allows commands (e.g., COPY TO PROGRAM).
Risk Analysis
This high-severity vulnerability in mod_sql for ProFTPD allows remote attackers to execute arbitrary code. This occurs when USER requests are logged with specific expansions and the SQL backend permits commands. With a CVSS score of 8.1, this flaw poses a significant risk of system compromise.
This vulnerability is actively exploited in the wild and is included in CISA's KEV catalog. It is remotely exploitable, though with higher attack complexity, and can lead to full system compromise.
ProFTPD users should upgrade to version 1.3.9a or later to address this vulnerability. Review mod_sql configurations to ensure that logging of USER requests does not inadvertently enable code execution.
Technical Analysis
CVE-2026-42167 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 8.1.
CISA has added CVE-2026-42167 to the Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation in the wild. U.S. federal agencies are required to patch this within the mandated timeframe, and all organizations should treat remediation as urgent.
From a weakness classification perspective (CWE-89): SQL injection vulnerabilities allow attackers to manipulate database queries, potentially exposing or modifying sensitive data.
CVSS v3.1 Vector Breakdown
Exploit & PoC Resources
All References (8)
Quick Facts
Related CVEs (CWE-89)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-42167 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
- !CISA KEV: Federal agencies must patch per BOD 22-01 timeline
- !Active exploitation confirmed — treat as P1