{"id":"CVE-2025-34073","aliases":["EUVD-2025-19716","GHSA-6655-8f3g-xp52"],"status":"published","title":"stamparm/maltrail \u003c=0.54 Remote Command Execution","description":"An unauthenticated command injection vulnerability exists in stamparm/maltrail (Maltrail) versions \u003c=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.","severity":{"version":"4.0","score":10,"vector":"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","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.05472,"percentile":0.92813,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-306","CWE-78"],"published":"2025-07-02T13:46:59Z","modified":"2026-06-17T09:13:25Z","exploits":[{"source":"metasploit","id":"exploit/unix/http/maltrail_rce","title":"Maltrail Unauthenticated Command Injection","type":"exploit","platform":"Linux,Unix","date":"2023-07-31","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/unix/http/maltrail_rce"},{"source":"nuclei","id":"CVE-2025-34073","title":"Maltrail \u003c=0.54 Username Parameter - Remote Command Execution","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-34073.yaml"}],"products":[{"vendor":"stamparm","product":"maltrail"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/maltrail_rce.rb","tags":["exploit"]},{"url":"https://huntr.com/bounties/be3c5204-fbd9-448d-b97c-96a8d2941e87","tags":["third-party-advisory","exploit"]},{"url":"https://github.com/stamparm/maltrail","tags":["product"]},{"url":"https://github.com/stamparm/maltrail/issues/19146","tags":["issue-tracking"]},{"url":"https://vulncheck.com/advisories/stamparm-maltrail-rce","tags":["third-party-advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-34073"},{"url":"https://github.com/advisories/GHSA-6655-8f3g-xp52"}],"sources":{"cve":[{"id":"CVE-2025-34073","title":"stamparm/maltrail \u003c=0.54 Remote Command Execution","description":"An unauthenticated command injection vulnerability exists in stamparm/maltrail (Maltrail) versions \u003c=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.","status":"published","published":"2025-07-02T13:46:59.778Z","modified":"2026-05-14T02:07:31.453Z","cvss":[{"version":"4.0","score":10,"vector":"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","level":"critical","assessor":"cna"}],"cwes":["CWE-78","CWE-306"],"updated_at":"2026-11-02T14:32:54.1527Z"}],"euvd":[{"id":"EUVD-2025-19716","description":"An unauthenticated command injection vulnerability exists in stamparm/maltrail (Maltrail) versions \u003c=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.","status":"published","published":"2025-07-02T13:46:59Z","modified":"2026-05-14T02:07:31Z","cvss":[{"version":"4.0","score":10,"vector":"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","level":"critical"}],"updated_at":"2026-11-02T19:04:32.516693Z"}],"ghsa":[{"id":"GHSA-6655-8f3g-xp52","title":"An unauthenticated command injection vulnerability exists in stamparm/maltrail (Maltrail)...","description":"An unauthenticated command injection vulnerability exists in stamparm/maltrail (Maltrail) versions \u003c=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.","status":"published","published":"2025-07-02T15:30:38Z","modified":"2025-07-02T15:30:44Z","cvss":[{"version":"4.0","score":10,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:02:53.302581Z"}],"nvd":[{"id":"CVE-2025-34073","description":"An unauthenticated command injection vulnerability exists in stamparm/maltrail (Maltrail) versions \u003c=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.","status":"published","published":"2025-07-02T14:15:24.967Z","modified":"2026-06-17T09:13:25.537Z","cvss":[{"version":"4.0","score":10,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical","assessor":"secondary"}],"cwes":["CWE-78","CWE-306"],"updated_at":"2026-11-02T14:11:15.754475Z"}]}}
