CVE-2025-34073
stamparm/maltrail <=0.54 Remote Command Execution
- State
- Published
- Severity
- 10.0 Critical
- Published
- Jul 2, 2025
- Updated
- May 14, 2026
- Reserved
- Apr 15, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 10.0 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | VulnCheck |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
MaltrailStamparm |
|
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/maltrail_rce.rbexploit
- https://huntr.com/bounties/be3c5204-fbd9-448d-b97c-96a8d2941e87third-party-advisoryexploit
- https://github.com/stamparm/maltrailproduct
- https://github.com/stamparm/maltrail/issues/19146issue-tracking
- https://vulncheck.com/advisories/stamparm-maltrail-rcethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.