Every CVE Search/ Get API key

CVE-2026-42167

mod_sql in ProFTPD before 1.3.10rc1 allows remote attackers to execute arbitrary code via a...

8.1 HighPublic exploitFix available

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).

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

7.39%Up 7.2 points since Apr 29, 2026
90%50%10%1%

What each source reports

CVE List Score used 8.1

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).

Record
CVE-2026-42167
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Updated
2026-11-02
EUVDEUVD-2026-26157 8.1

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).

Record
EUVD-2026-26157
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-q25r-7mmc-3mcj 8.1

mod_sql in ProFTPD before 1.3.10rc1 allows remote attackers to execute arbitrary code via a...

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).

Record
GHSA-q25r-7mmc-3mcj
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Updated
2026-11-02
NVD 8.1

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).

Record
CVE-2026-42167
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Updated
2026-11-02
OSVALPINE-CVE-2026-42167 8.1

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).

Record
ALPINE-CVE-2026-42167
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-07
OSV 8.1

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).

Record
CVE-2026-42167
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Updated
2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2026-42167 8.1

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).

Record
DEBIAN-CVE-2026-42167
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-2158 8.1

proftpd security update

ProFTPD is an enhanced FTP server with a focus toward simplicity, security, and ease of configuration. It features a very Apache-like configuration syntax, and a highly customizable server infrastructure, including support for multiple 'virtual' FTP servers, anonymous FTP, and permission-based directory visibility. This package defaults to the standalone behavior of ProFTPD, but all the needed scripts to have it run by systemd instead are included.

Security Fix(es):

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).(CVE-2026-42167)

Record
OESA-2026-2158
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-2159 8.1

proftpd security update

ProFTPD is an enhanced FTP server with a focus toward simplicity, security, and ease of configuration. It features a very Apache-like configuration syntax, and a highly customizable server infrastructure, including support for multiple 'virtual' FTP servers, anonymous FTP, and permission-based directory visibility. This package defaults to the standalone behavior of ProFTPD, but all the needed scripts to have it run by systemd instead are included.

Security Fix(es):

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).(CVE-2026-42167)

Record
OESA-2026-2159
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-2264 8.1

proftpd security update

ProFTPD is an enhanced FTP server with a focus toward simplicity, security, and ease of configuration. It features a very Apache-like configuration syntax, and a highly customizable server infrastructure, including support for multiple 'virtual' FTP servers, anonymous FTP, and permission-based directory visibility. This package defaults to the standalone behavior of ProFTPD, but all the needed scripts to have it run by systemd instead are included.

Security Fix(es):

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).(CVE-2026-42167)

In ProFTPD through 1.3.9a before 7666224, a SQL injection vulnerability in sqltab_fetch_clients_cb() in contrib/mod_wrap2_sql.c allows a remote attacker to inject arbitrary SQL commands via a crafted domain name that is accessed in a reverse DNS lookup. When "UseReverseDNS on" is enabled, the attacker-supplied hostname is passed unescaped into SQL queries. The character restrictions of DNS names may affect exploitability.(CVE-2026-44331)

Record
OESA-2026-2264
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-2266 8.1

proftpd security update

ProFTPD is an enhanced FTP server with a focus toward simplicity, security, and ease of configuration. It features a very Apache-like configuration syntax, and a highly customizable server infrastructure, including support for multiple 'virtual' FTP servers, anonymous FTP, and permission-based directory visibility. This package defaults to the standalone behavior of ProFTPD, but all the needed scripts to have it run by systemd instead are included.

Security Fix(es):

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).(CVE-2026-42167)

In ProFTPD through 1.3.9a before 7666224, a SQL injection vulnerability in sqltab_fetch_clients_cb() in contrib/mod_wrap2_sql.c allows a remote attacker to inject arbitrary SQL commands via a crafted domain name that is accessed in a reverse DNS lookup. When "UseReverseDNS on" is enabled, the attacker-supplied hostname is passed unescaped into SQL queries. The character restrictions of DNS names may affect exploitability.(CVE-2026-44331)

Record
OESA-2026-2266
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-2760 8.1

proftpd security update

ProFTPD is an enhanced FTP server with a focus toward simplicity, security, and ease of configuration. It features a very Apache-like configuration syntax, and a highly customizable server infrastructure, including support for multiple 'virtual' FTP servers, anonymous FTP, and permission-based directory visibility. This package defaults to the standalone behavior of ProFTPD, but all the needed scripts to have it run by systemd instead are included.

Security Fix(es):

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).(CVE-2026-42167)

Record
OESA-2026-2760
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-42167 8.1

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).

Record
UBUNTU-CVE-2026-42167
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2026-0200 No score

Updated proftpd packages fix security vulnerabilities

CVE-2026-42167 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). CVE-2026-44331 a SQL injection vulnerability in sqltab_fetch_clients_cb() in contrib/mod_wrap2_sql.c allows a remote attacker to inject arbitrary SQL commands via a crafted domain name that is accessed in a reverse DNS lookup. When "UseReverseDNS on" is enabled, the attacker-supplied hostname is passed unescaped into SQL queries. The character restrictions of DNS names may affect

Record
MGASA-2026-0200
Updated
2026-11-02
OSVopenSUSE-SU-2026:11352-1 No score

proftpd-1.3.9c-1.1 on GA media

These are all security issues fixed in the proftpd-1.3.9c-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11352-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
proftpd
Alpine:v3.22
before 1.3.9a-r0
1.3.9a-r0
proftpd
Alpine:v3.23
before 1.3.9a-r0
1.3.9a-r0
proftpd
Alpine:v3.24
before 1.3.9a-r0
1.3.9a-r0
proftpd-dfsg
Debian:12
before 1.3.8+dfsg-4+deb12u5, plus listed versions
1.3.8+dfsg-41.3.8+dfsg-4+deb12u11.3.8+dfsg-4+deb12u21.3.8+dfsg-4+deb12u31.3.8+dfsg-4+deb12u4
1.3.8+dfsg-4+deb12u5
proftpd-dfsg
Debian:13
before 1.3.8.c+dfsg-4+deb13u2, plus listed versions
1.3.8.c+dfsg-41.3.8.c+dfsg-4+deb13u1
1.3.8.c+dfsg-4+deb13u2
proftpd-dfsg
Debian:14
before 1.3.9~dfsg-5, plus listed versions
1.3.8.c+dfsg-41.3.9~dfsg-11.3.9~dfsg-21.3.9~dfsg-31.3.9~dfsg-4
1.3.9~dfsg-5
proftpd
Mageia:9
From an advisory covering 2 CVEs
before 1.3.8c-1.2.mga9
1.3.8c-1.2.mga9
proftpd
openEuler:24.03-LTS-SP3
before 1.3.9a-1.oe2403sp3
1.3.9a-1.oe2403sp3
proftpd
openEuler:24.03-LTS
before 1.3.9a-1.oe2403
1.3.9a-1.oe2403
proftpd
openEuler:22.03-LTS-SP4
From an advisory covering 2 CVEs
before 1.3.9a-2.oe2203sp4
1.3.9a-2.oe2203sp4
Show 11 moreShow less
Affected packages
PackageAffectedFixed
proftpd
openEuler:24.03-LTS-SP1
From an advisory covering 2 CVEs
before 1.3.9a-2.oe2403sp1
1.3.9a-2.oe2403sp1
proftpd
openEuler:20.03-LTS-SP4
before 1.3.8b-6.oe2003sp4
1.3.8b-6.oe2003sp4
proftpd-dfsg
Ubuntu:16.04:LTS
All versions, plus listed versions
1.3.5-21.3.5a-11.3.5a-1build11.3.5a-1ubuntu0.1
None known
proftpd-dfsg
Ubuntu:18.04:LTS
All versions, plus listed versions
1.3.5d-11.3.5e-1build1
None known
proftpd-dfsg
Ubuntu:20.04:LTS
All versions, plus listed versions
1.3.6-6build21.3.6c-11.3.6c-21.3.6c-2ubuntu0.1
None known
proftpd-dfsg
Ubuntu:22.04:LTS
All versions, plus listed versions
1.3.7b+dfsg-11.3.7c+dfsg-1build11.3.7c+dfsg-1ubuntu0.1
None known
proftpd-dfsg
Ubuntu:24.04:LTS
All versions, plus listed versions
1.3.8+dfsg-81.3.8.a+dfsg-11.3.8.b+dfsg-11.3.8.b+dfsg-1build11.3.8.b+dfsg-1build21.3.8.b+dfsg-1build31.3.8.b+dfsg-1ubuntu0.1
None known
proftpd-dfsg
Ubuntu:25.10
All versions, plus listed versions
1.3.8.c+dfsg-21.3.8.c+dfsg-41.3.9~dfsg-3
None known
proftpd-dfsg
Ubuntu:26.10
All versions, plus listed versions
1.3.9~dfsg-41.3.9b~dfsg-11.3.9d~dfsg-1
None known
proftpd-dfsg
Ubuntu:26.04:LTS
All versions, plus listed versions
1.3.9~dfsg-31.3.9~dfsg-4
None known
proftpd
openSUSE:Tumbleweed
before 1.3.9c-1.1
1.3.9c-1.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubZeroPathAI/proftpd-CVE-2026-42167-poc2026-04-28
PoC in GitHubdinosn/proftpd-CVE-2026-42167-analysis2026-04-29
PoC in GitHubSl4cK0TH/CVE-2026-42167-PoC2026-05-01
PoC in GitHubefeanilarslan/CVE-2026-42167-Exploit2026-05-02
PoC in GitHubjimmexploit/CVE-2026-42167-PoC2026-05-02
PoC in GitHubkaleth4/CVE-2026-421672026-05-04
Exploit-DBCVE-2026-42167 - ProFTPD mod_sql post-authentication SQLi - RCE2026-08-25
NucleiProFTPD mod_sql - Preauth User Backdoor

History

History
RecordedChangedSources
affectedOSV
affected, facts
affectedOSV
affected, aliases, exploits, referencesOSV
first indexedCVE List, EUVD, Exploit-DB, GitHub Advisories, Nuclei, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-42167 is a high vulnerability (CVSS 8.1) in Proftpd, published April 28, 2026. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 7.39%, the 94th percentile. Fixed in proftpd 1.3.9a-r0.

References

Show 17 moreShow less
MoveEnter Open