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).
Does this matter?
A public exploit is published in Exploit-DB and the impact is high, while EPSS rates exploitation at 7.3%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.
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).
- CVSS 3.1
- 8.1 HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 7.31% probability · 95th percentile
- Public exploits
- 1 in Exploit-DB · first 25 August 2026
- CISA KEV
- Not listed
- Weakness
- CWE-89: SQL injection
- Affected
- proftpd/proftpd
- Source
- cve@mitre.org
In plain terms
It can be reached over a network with no login and no help from a user, though the attack does not work reliably every time.
- Reached from
- Over a network. If the affected system can be reached from the internet, so can the flaw.
- Effort
- Success depends on conditions the attacker does not control, so it takes preparation and may not work every time.
- Login needed
- None. No login is needed.
- Someone else involved
- No. Nobody has to click, open or approve anything.
- At risk
- Reading data: serious. Changing data: serious. Stopping the service: serious.
Read from the CVSS 3.1 vector above. It describes the flaw itself, not how your own systems are set up.
The first public exploit in Exploit-DB is dated 25 August 2026, about 4 months after the record was published.
EPSS 7.3% since 30 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (1)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
The same product
We hold 4 records for proftpd/proftpd, of which 1 is on CISA’s known-exploited list. Follow this product to hear of the next one.
- CVE-2015-3306ProFTPD Improper Access Control VulnerabilityKEVEXPLOIT ×4 ✓CRITICAL 10.0EPSS 99.5%Listed 8 October 2026
Where to go from here
One vulnerability is rarely the whole question. These are free, and none of them asks for an account.
By email
Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.
References
- http://www.proftpd.org/docs/RELEASE_NOTES-1.3.10rc1Release Notes
- https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-pocExploit, Third Party Advisory
- https://github.com/proftpd/proftpd/issues/2052Exploit, Issue Tracking, Patch
- https://www.openwall.com/lists/oss-security/2026/05/01/4Mailing List
- https://zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rceExploit, Press/Media Coverage, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2026/05/01/13Mailing List
- http://www.openwall.com/lists/oss-security/2026/05/01/4Mailing List
- https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-pocExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.