CVE-2026-42167: mod_sql in ProFTPD before 1.3.9a allows remote attackers to execute arbitrary code via a username, in scenario
CVE-2026-42167 is a high-severity flaw (CVSS 8.1) affecting proftpd. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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).
Why this priority
- High severity
- EPSS top 6%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 7.4% (top 6%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2026-04-28 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: ZeroPathAI/proftpd-CVE-2026-42167-poc (30 stars)
- GitHub PoC: dinosn/proftpd-CVE-2026-42167-analysis (3 stars)
- Write-up: zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rce
- Exploit-DB: CVE-2026-42167 - ProFTPD mod_sql post-authentication SQLi - RCE
- Nuclei scan template: ProFTPD mod_sql - Preauth User Backdoor
Advisories and coverage
Research and news
- Exploit-DB Latest: [remote] CVE-2026-42167 - ProFTPD mod_sql post-authentication SQLi - RCE 2026-08-25
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-42167?
proftpd: upgrade to newer than 1.3.9b. Exact commands for each OS are on this page.
Is CVE-2026-42167 being exploited?
CVE-2026-42167 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-42167 affect?
CVE-2026-42167 affects proftpd. Severity is high (CVSS 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
How urgent is CVE-2026-42167?
Priority 62/100. High severity; EPSS top 6%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-35025 HIGH 8.1 UPGRADE ProFTPD through 1.3.9b and 1.3.10rc2 contains an access control bypass vulnerability that allows authenticated
- CVE-2026-53994 HIGH 7.5 UPGRADE ProFTPD mod_sftp contains a heap-based buffer overflow reachable by an authenticated SFTP user
- CVE-2015-3306 CRITICAL 10.0 EXPLOITED MITIGATE MITIGATE ProFTPD Improper Access Control Vulnerability
- CVE-2026-63090 HIGH 8.8 UPGRADE ProFTPD before 1.3.9c and 1.3.10rc3 contains a heap-based buffer overflow vulnerability in the mod_sftp module
- CVE-2026-63091 MEDIUM 6.5 UPGRADE ProFTPD before 1.3.9c and 1.3.10rc3 contains a signed integer overflow vulnerability in the mod_sftp module's