8.1
HIGH CVSS 3.1
CVE-2026-42167
ProFTPD mod_sql Remote Code Execution Vulnerability
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).

INFO

Published Date :

April 28, 2026, 11:16 p.m.

Last Modified :

July 8, 2026, 3:26 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-42167 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Proftpd proftpd
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH 8254265b-2729-46b6-b9e3-3dfca2d5bfca
CVSS 3.1 HIGH [email protected]
Solution
Update ProFTPD to version 1.3.10rc1 or later to prevent arbitrary code execution.
  • Update ProFTPD to version 1.3.10rc1 or later.
  • Ensure logging does not expand usernames.
  • Configure SQL backend to disallow commands.
Public PoC/Exploit Available at Github

CVE-2026-42167 has a 10 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-42167.

URL Resource
http://www.proftpd.org/docs/RELEASE_NOTES-1.3.10rc1 Release Notes
https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc Exploit Third Party Advisory
https://github.com/proftpd/proftpd/issues/2052 Exploit Issue Tracking Patch
https://www.openwall.com/lists/oss-security/2026/05/01/4 Mailing List
https://zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rce Exploit Press/Media Coverage Third Party Advisory
http://www.openwall.com/lists/oss-security/2026/05/01/13 Mailing List
http://www.openwall.com/lists/oss-security/2026/05/01/4 Mailing List
https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc Exploit Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-42167 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Task for harborframework.

Dockerfile C Makefile Shell Python

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : May 10, 2026, 1:23 p.m. This repo has been linked 2 different CVEs too.

None

Go

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 4, 2026, 12:37 a.m. This repo has been linked 1 different CVEs too.

ProFTPD SQL injection PoC

Go

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 2, 2026, 1:08 p.m. This repo has been linked 1 different CVEs too.

security scan and patch for linux system

Shell

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 2, 2026, 10:19 a.m. This repo has been linked 12 different CVEs too.

Python exploit for CVE-2026-42167 (ProFTPD mod_sql). Features automated file scanning and timing-based blind data exfiltration.

exploit penetration-testing postgressql proftpd security-research sql-injection cve-2026-42167

Python

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 2, 2026, 9:09 a.m. This repo has been linked 1 different CVEs too.

Phase-locked temporal wedge exploitation — replacing SQL injection with CTT physics

Python

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 2, 2026, 6:36 a.m. This repo has been linked 1 different CVEs too.

Pre-Auth RCE in ProFTPD via mod_sql is_escaped_text() bypass (CVE-2026-42167)

Python

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 1, 2026, 1:36 p.m. This repo has been linked 1 different CVEs too.

Independent reproduction, code-level root-cause analysis, and realistic-exposure write-up for CVE-2026-42167 (ProFTPD mod_sql is_escaped_text() bypass).

Python Shell

Updated: 2 months, 3 weeks ago
2 stars 0 fork 0 watcher
Born at : April 29, 2026, 6:52 a.m. This repo has been linked 1 different CVEs too.

POCs to demonstrate CVE-2026-42167 in ProFTPD

Python Shell

Updated: 2 months, 2 weeks ago
18 stars 4 fork 4 watcher
Born at : April 28, 2026, 2:35 p.m. This repo has been linked 1 different CVEs too.

Cathedral-Grade Security for AI Agents. Attack vectors updated daily. Local-first, zero API cost. MIT licensed.

Python

Updated: 17 hours, 36 minutes ago
6 stars 0 fork 0 watcher
Born at : March 13, 2026, 5:10 p.m. This repo has been linked 119 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-42167 vulnerability anywhere in the article.

  • CybersecurityNews
ProFTPD’s SQL Injection Vulnerability Enables Remote Code Execution Attacks

A critical SQL injection vulnerability in ProFTPD, one of the Internet’s most widely deployed FTP servers. Tracked as CVE-2026-42167, this flaw carries a CVSS severity score of 8.1 and affects the mod ... Read more

Published Date: Apr 30, 2026 (2 months, 3 weeks ago)

The following table lists the changes that have been made to the CVE-2026-42167 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 08, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:proftpd:proftpd:*:*:*:*:*:*:*:* versions up to (including) 1.3.9b
    Added Reference Type MITRE: http://www.proftpd.org/docs/RELEASE_NOTES-1.3.10rc1 Types: Release Notes
    Added Reference Type MITRE: https://github.com/proftpd/proftpd/issues/2052 Types: Exploit, Issue Tracking, Patch
    Added Reference Type MITRE: https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc Types: Exploit, Third Party Advisory
    Added Reference Type MITRE: https://www.openwall.com/lists/oss-security/2026/05/01/4 Types: Mailing List
    Added Reference Type MITRE: https://zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rce Types: Exploit, Press/Media Coverage, Third Party Advisory
    Added Reference Type CISA-ADP: https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc Types: Exploit, Third Party Advisory
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/05/01/13 Types: Mailing List
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/05/01/4 Types: Mailing List
  • CVE Modified by [email protected]

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'ProFTPD', 'product': 'ProFTPD', 'versions': [{'status': 'affected', 'version': '1.3.7b', 'lessThan': '1.3.9a', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 17, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-42167', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-04-29T12:51:40.626237Z'}
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    May. 01, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/05/01/13
  • CVE Modified by [email protected]

    May. 01, 2026

    Action Type Old Value New Value
    Changed Description mod_sql in ProFTPD before 1.3.10rc1 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). 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).
    Added Reference https://www.openwall.com/lists/oss-security/2026/05/01/4
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    May. 01, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/05/01/4
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Apr. 29, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc
  • New CVE Received by [email protected]

    Apr. 28, 2026

    Action Type Old Value New Value
    Added Description mod_sql in ProFTPD before 1.3.10rc1 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).
    Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-89
    Added Reference http://www.proftpd.org/docs/RELEASE_NOTES-1.3.10rc1
    Added Reference https://github.com/proftpd/proftpd/issues/2052
    Added Reference https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc
    Added Reference https://zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rce
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.