Skip to content

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

HighCVSS 8.1 EPSS 7.4% Public exploit Scanner template
Published
Updated
Exploit status
Public exploit available
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

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

Upgrade path

11 packages: 7 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/proftpd-dfsg(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/proftpd-dfsg(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/proftpd-dfsg(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/proftpd-dfsg(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/proftpd(Alpine v3.22) < 1.3.9a-r0 1.3.9a-r0 Fixed
alpine/proftpd(Alpine v3.23) < 1.3.9a-r0 1.3.9a-r0 Fixed
alpine/proftpd(Alpine v3.24) < 1.3.9a-r0 1.3.9a-r0 Fixed
debian/proftpd-dfsg(Debian 12) < 1.3.8+dfsg-4+deb12u5; = 1.3.8+dfsg-4; = 1.3.8+dfsg-4+deb12u1; = 1.3.8+dfsg-4+deb12u2 +2 more 1.3.8+dfsg-4+deb12u5 Fixed
debian/proftpd-dfsg(Debian 13) < 1.3.8.c+dfsg-4+deb13u2; = 1.3.8.c+dfsg-4; = 1.3.8.c+dfsg-4+deb13u1 1.3.8.c+dfsg-4+deb13u2 Fixed
debian/proftpd-dfsg(Debian 14) < 1.3.9~dfsg-5; = 1.3.8.c+dfsg-4; = 1.3.9~dfsg-1; = 1.3.9~dfsg-2 +2 more 1.3.9~dfsg-5 Fixed
proftpd <= 1.3.9b; >= 1.3.7b, < 1.3.9a 1.3.9a Fixed

Affected products

ProductAffected versionsFixed in
proftpd >= 1.3.7b, < 1.3.9a 1.3.9a
debian/proftpd-dfsg(Debian:12) < 1.3.8+dfsg-4+deb12u5 1.3.8+dfsg-4+deb12u5
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-4 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-4+deb12u1 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-4+deb12u2 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-4+deb12u3 No fix listed
debian/proftpd-dfsg(Debian:12) = 1.3.8+dfsg-4+deb12u4 No fix listed
debian/proftpd-dfsg(Debian:13) < 1.3.8.c+dfsg-4+deb13u2 1.3.8.c+dfsg-4+deb13u2
debian/proftpd-dfsg(Debian:13) = 1.3.8.c+dfsg-4 No fix listed
debian/proftpd-dfsg(Debian:13) = 1.3.8.c+dfsg-4+deb13u1 No fix listed
debian/proftpd-dfsg(Debian:14) < 1.3.9~dfsg-5 1.3.9~dfsg-5
debian/proftpd-dfsg(Debian:14) = 1.3.8.c+dfsg-4 No fix listed
debian/proftpd-dfsg(Debian:14) = 1.3.9~dfsg-1 No fix listed
debian/proftpd-dfsg(Debian:14) = 1.3.9~dfsg-2 No fix listed
debian/proftpd-dfsg(Debian:14) = 1.3.9~dfsg-3 No fix listed
debian/proftpd-dfsg(Debian:14) = 1.3.9~dfsg-4 No fix listed
ubuntu/proftpd-dfsg(Ubuntu:22.04) All versions No fix listed
alpine/proftpd(Alpine:v3.22) < 1.3.9a-r0 1.3.9a-r0
alpine/proftpd(Alpine:v3.23) < 1.3.9a-r0 1.3.9a-r0
alpine/proftpd(Alpine:v3.24) < 1.3.9a-r0 1.3.9a-r0
ubuntu/proftpd-dfsg(Ubuntu:24.04) All versions No fix listed
ubuntu/proftpd-dfsg(Ubuntu:26.04) All versions No fix listed
ubuntu/proftpd-dfsg(Ubuntu:26.10) All versions No fix listed
proftpd <= 1.3.9b No fix listed

References