CVE-2025-34073
An unauthenticated command injection vulnerability exists in …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/stamparm/maltrail
- github.com/stamparm/maltrail/issues/19146
- huntr.com/bounties/be3c5204-fbd9-448d-b97c-96a8d2941e87
- raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/ma
- vulncheck.com/advisories/stamparm-maltrail-rce
- nvd.nist.gov/vuln/detail/CVE-2025-34073
- cve.org/CVERecord?id=CVE-2025-34073
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.