Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/stamparm/maltrail
- https://github.com/stamparm/maltrail/issues/19146
- https://huntr.com/bounties/be3c5204-fbd9-448d-b97c-96a8d2941e87
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exp
- https://vulncheck.com/advisories/stamparm-maltrail-rce
FAQ
What is CVE-2025-34073?
CVE-2025-34073 is a documented vulnerability. 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 ...
How severe is CVE-2025-34073?
CVSS scoring is not yet available for CVE-2025-34073. Check NVD for updates.
Is there a patch for CVE-2025-34073?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.