CVE-2026-42167
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).
Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
7.389%
chance of exploitation in the next 30 days
higher than 94.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 1
Exploit-DB: 1
Weakness
- CWE-89: Improper Neutralization of Special Elements used in an SQL Command
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-04-29 |
Timeline
- 2026-04-28Published by the CNA00:00 UTC
- 2026-04-29CISA SSVC decision recorded1 day after publication
- 2026-08-25First Exploit-DB entry (EDB-ID 52658)119 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 52658 | remote | multiple | 2026-08-25 | no |
Nuclei templates:
- CVE-2026-42167: ProFTPD mod_sql - Preauth User Backdoor
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| proftpd proftpd | from 1.3.7b before 1.3.9afixed in 1.3.9athrough 1.3.9bno fix listed | 1.3.9anot listed |
References
- https://github.com/proftpd/proftpd/issues/2052
- https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc
- https://zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rce
- http://www.openwall.com/lists/oss-security/2026/05/01/13
- http://www.openwall.com/lists/oss-security/2026/05/01/4
- http://www.proftpd.org/docs/RELEASE_NOTES-1.3.10rc1
- https://www.openwall.com/lists/oss-security/2026/05/01/4
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42167'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42167'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42167'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42167'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).