CVE-2025-34073
An unauthenticated command injection vulnerability exists in stamparm/maltrail (Maltrail) versions <=0.54.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (5.67%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 4.0
- 10.0 CRITICALCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M
- EPSS
- 5.67% probability · 93th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78, CWE-306
- Source
- disclosure@vulncheck.com
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/exploits/unix/http/maltrail_rce.rb
- https://vulncheck.com/advisories/stamparm-maltrail-rce
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.