CVE-2026-42167
Remote Code Execution via SQL Injection in ProFTPD mod_sql
Publication date: 2026-04-28
Last updated on: 2026-05-01
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| proftpd | mod_sql | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability impact me? :
The vulnerability can have severe impacts including unauthorized remote code execution. An attacker can run arbitrary code on the affected system without any privileges or user interaction, potentially leading to full system compromise.
Can you explain this vulnerability to me?
This vulnerability exists in the mod_sql module of ProFTPD versions before 1.3.10rc1. It allows remote attackers to execute arbitrary code by exploiting the way usernames are logged when USER requests are processed. Specifically, if the logging configuration includes an expansion such as %U and the SQL backend supports commands like COPY TO PROGRAM, an attacker can inject malicious commands via the username field.