CVE-2025-34073 stamparm/maltrail <=0.54 Remote Command Execution
Remote attackers can execute arbitrary OS commands via the login endpoint without authentication, requiring immediate upgrade of Maltrail.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-34073?
CVE-2025-34073 is a critical command injection vulnerability in Stamparm Maltrail, published on 2 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An unauthenticated command injection vulnerability exists in stamparm/maltrail (Maltrail) versions <=0.54. A remote attacker can execute arbitrary operating system commands via the username parameter in a POST request to the /login endpoint. This occurs due to unsafe handling of user-supplied input passed to subprocess.check_output() in core/http.py, allowing injection of shell metacharacters. Exploitation does not require authentication and commands are executed with the privileges of the Maltrail process.
Which versions are affected by CVE-2025-34073?
How do I fix CVE-2025-34073?
No fix has been published for CVE-2025-34073 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-34073 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-34073 exists.
Public exploit code: 1 Metasploit module and 1 Nuclei template.
Sources
Also known as GHSA-6655-8f3g-xp52.