Skip to content
Fencer Vulns
high 8.1

CVE-2026-42167 json

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 U…

published 2026-04-28 6 mo ago modified 2026-07-24 3 mo ago also EUVD-2026-26157

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
7.4%
EPSS 7.4% chance of exploitation in 30 days, percentile 94%
public exploits
1
Exploit-DB, plus a Nuclei check

Summary

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

Patch / fix

  • ProFTPD ProFTPD 1.3.9a
  • proftpd-dfsg Debian 12 1.3.8+dfsg-4+deb12u5
  • proftpd-dfsg Debian 13 1.3.8.c+dfsg-4+deb13u2
  • proftpd-dfsg Debian 14 1.3.9~dfsg-5

debian advisories DEBIAN-CVE-2026-42167

  • proftpd openSUSE Tumbleweed 1.3.9c-1.1

opensuse advisories openSUSE-SU-2026:11352-1

  • proftpd Alpine 3.24, Alpine 3.23, Alpine 3.22 1.3.9a-r0

alpine advisories ALPINE-CVE-2026-42167

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-42167 updated cvss 8.1

ProFTPD: mod_sql: SQL injection due to logic error in is_escaped_text()

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. Published
  2. First public exploit (EDB-52658)

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
6 mo ago

Exploit prediction

7.39% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • EDB-52658 CVE-2026-42167 - ProFTPD mod_sql post-authentication SQLi - RCE remote, 2026-08-25
  • Nuclei template ProFTPD mod_sql - Preauth User Backdoor nuclei detection template
  • github.com https://github.com/proftpd/proftpd/issues/2052 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc referenced PoC, tagged "exploit" by a source, unverified
  • zeropath.com https://zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rce referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • ProFTPD ProFTPD

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.