{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:proftpd:proftpd:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "1.3.7b"
              },
              {
                "fixed": "1.3.9a"
              },
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.3.9b"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "ceb2f7771e8dd7f0697b5c151f97dd39aa5c453a"
            },
            {
              "fixed": "390b21555268bbc64b66d2dfa7ae40476419b80f"
            }
          ],
          "repo": "https://github.com/proftpd/proftpd",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42167.json"
  },
  "details": "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).",
  "id": "CVE-2026-42167",
  "modified": "2026-07-09T03:52:25.920560683Z",
  "published": "2026-04-28T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/05/01/13"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/05/01/4"
    },
    {
      "type": "WEB",
      "url": "http://www.proftpd.org/docs/RELEASE_NOTES-1.3.10rc1"
    },
    {
      "type": "WEB",
      "url": "https://www.openwall.com/lists/oss-security/2026/05/01/4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42167.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42167"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/proftpd/proftpd/issues/2052"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc"
    },
    {
      "type": "ARTICLE",
      "url": "https://zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rce"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}