{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42167 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-42167 is a high-severity SQL injection vulnerability in ProFTPD, published on 28 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42167 and fix it if it is affected.\n\nWhat it is: CVE-2026-42167 is a high-severity SQL injection vulnerability in ProFTPD, published on 28 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42167 exists.\n\nAffected product: ProFTPD. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-42167/ (Markdown: https://insights.sbomify.com/CVE-2026-42167/index.md)","id":"CVE-2026-42167","markdown":"https://insights.sbomify.com/CVE-2026-42167/index.md","name":"CVE-2026-42167","record":{"aliases":["DEBIAN-CVE-2026-42167","GHSA-q25r-7mmc-3mcj","OESA-2026-2158","OESA-2026-2159","OESA-2026-2760","UBUNTU-CVE-2026-42167","openSUSE-SU-2026:11352-1"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"ProFTPD FTP server","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via SQL injection in ProFTPD when logging USER requests with specific expansions and SQL backends allowing commands.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"proftpd","vendor":"proftpd"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"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).","ecosystems":["openSUSE:Tumbleweed"],"exploits":{"exploitdb":1,"first_seen":"2026-04-28","github_poc":6,"max_poc_stars":30,"metasploit":0,"nuclei":1,"refs":[{"date":"2026-04-28T14:35:46Z","kind":"github_poc","ref":"https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc","stars":30,"title":"POCs to demonstrate CVE-2026-42167 in ProFTPD"},{"date":"2026-04-29T06:52:34Z","kind":"github_poc","ref":"https://github.com/dinosn/proftpd-CVE-2026-42167-analysis","stars":3,"title":"Independent reproduction, code-level root-cause analysis, and realistic-exposure write-up for CVE-2026-42167 (ProFTPD mod_sql is_escaped_text() bypass)."},{"date":"2026-05-02T09:09:37Z","kind":"github_poc","ref":"https://github.com/efeanilarslan/CVE-2026-42167-Exploit","stars":1,"title":"Python exploit for CVE-2026-42167 (ProFTPD mod_sql). Features automated file scanning and timing-based blind data exfiltration."},{"date":"2026-05-02T13:08:49Z","kind":"github_poc","ref":"https://github.com/jimmexploit/CVE-2026-42167-PoC","stars":1,"title":"ProFTPD SQL injection PoC"},{"date":"2026-05-01T13:36:47Z","kind":"github_poc","ref":"https://github.com/Sl4cK0TH/CVE-2026-42167-PoC","stars":0,"title":"Pre-Auth RCE in ProFTPD via mod_sql is_escaped_text() bypass (CVE-2026-42167)"},{"date":"2026-05-04T00:37:01Z","kind":"github_poc","ref":"https://github.com/kaleth4/CVE-2026-42167","stars":0,"title":null},{"date":"2026-08-25","kind":"exploitdb","ref":"52658","stars":null,"title":"CVE-2026-42167 - ProFTPD mod_sql post-authentication SQLi - RCE"},{"date":null,"kind":"nuclei","ref":"network/cves/2026/CVE-2026-42167.yaml","stars":null,"title":"ProFTPD mod_sql - Preauth User Backdoor"}],"tier":"weaponised"},"has_fix":true,"headline":"SQL injection in ProFTPD","id":"CVE-2026-42167","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":1,"n_references":5,"next":{"headline":"Command injection in n/a","id":"CVE-2026-42168"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.3.9c-1.1"],"introduced":["0"],"last_affected":[],"package":"proftpd","purl":"pkg:rpm/opensuse/proftpd\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11352-1"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2026-42164"},"products":["ProFTPD"],"published":"2026-04-28","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2010-4221","kev_date_added":null,"published":"2010-11-09"},{"cvss_score":9.3,"headline":"ProFTPD 1.3.3c Backdoor Command Execution","id":"CVE-2010-20103","kev_date_added":null,"published":"2025-08-20"},{"cvss_score":9,"headline":"Use after free in n/a","id":"CVE-2011-4130","kev_date_added":null,"published":"2011-12-06"},{"cvss_score":8.7,"headline":"ProFTPD mod_sftp Heap Buffer Overflow via SFTP Packet Reassembly","id":"CVE-2026-63090","kev_date_added":null,"published":"2026-07-20"},{"cvss_score":8.6,"headline":"ProFTPD ACL Bypass via /proc/self/root Path Prefix in RNFR","id":"CVE-2026-35025","kev_date_added":null,"published":"2026-06-24"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2004-0346","kev_date_added":null,"published":"2004-03-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-01","vendors":["ProFTPD"]},"summary":"Remote attackers can execute arbitrary code via SQL injection in ProFTPD when logging USER requests with specific expansions and SQL backends allowing commands.","url":"https://insights.sbomify.com/CVE-2026-42167/"}