Skip to content
OpenAdvisories
High · 8.1 Scanner template Public exploit CVE-2026-42167 EUVD-2026-26157GHSA-q25r-7mmc-3mcj

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 U…

Published Apr 28, 2026 · Updated May 1, 2026 · Assigned by mitre

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

Affected products

VendorProductAffectedFixed
ProFTPD ProFTPD 1.3.7b – < 1.3.9a 1.3.9a

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 proftpd-dfsg 1.3.9~dfsg-5 —
Debian 13 proftpd-dfsg 1.3.8.c+dfsg-4+deb13u2 —
Debian 12 proftpd-dfsg 1.3.8+dfsg-4+deb12u5 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 proftpd-dfsg No fix yet —
Ubuntu 26.04 LTS proftpd-dfsg No fix yet —
Ubuntu 25.10 proftpd-dfsg No fix yet —
Ubuntu 24.04 LTS proftpd-dfsg No fix yet —
Ubuntu 22.04 LTS proftpd-dfsg No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS proftpd-dfsg No fix yet —
Ubuntu 18.04 LTS proftpd-dfsg No fix yet —
Ubuntu 16.04 LTS proftpd-dfsg No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 proftpd 1.3.8b-150600.13.18.1 SUSE-SU-2026:5181-1
SLES 15 SP6 proftpd 1.3.8b-150600.13.18.1 SUSE-SU-2026:5181-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 proftpd 1.3.8b-150600.13.18.1 SUSE-SU-2026:5181-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed proftpd 1.3.9c-1.1 openSUSE-SU-2026:11352-1
ReleasePackageFixed inAdvisory
Alpine v3.24 proftpd 1.3.9a-r0 —
Alpine v3.23 proftpd 1.3.9a-r0 —
Alpine v3.22 proftpd 1.3.9a-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 6 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Advisories 3

References