# CVE-2026-42167: modsql in ProFTPD before 1.3.9a allows remote attackers to execute arbitrary code via a username, in scenarios where there is logging of US…

- Severity: High 8.1 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 7.39%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2026-04-28T00:00:00.000Z
- Modified: 2026-07-24T21:10:00.143Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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).

(As written by CVE List.)

## Affected

- ProFTPD ProFTPD: from 1.3.7b before 1.3.9a; up to 1.3.9b

## References

- <https://github.com/proftpd/proftpd/issues/2052> (exploit, issue-tracking, patch)
- <https://zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rce> (exploit, press/media-coverage, third-party-advisory)
- <https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc> (exploit, third-party-advisory)
- <http://www.proftpd.org/docs/RELEASE_NOTES-1.3.10rc1> (release-notes)
- <https://www.openwall.com/lists/oss-security/2026/05/01/4> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2026/05/01/4> (mailing-list)
- <http://www.openwall.com/lists/oss-security/2026/05/01/13> (mailing-list)

## Sources

- CVE List: [CVE-2026-42167](https://www.cve.org/CVERecord?id=CVE-2026-42167), CVE Terms of Use, modified 2026-05-01
- NVD: [CVE-2026-42167](https://nvd.nist.gov/vuln/detail/CVE-2026-42167), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-42167 · Whole record: https://cve.day/CVE-2026-42167.json · Rebuilt by cve.day 2026-11-25T22:59:20.019Z
