{"id":"CVE-2025-34073","aliases":["CVE-2025-34073"],"related":[],"kind":"vulnerability","state":"published","title":"stamparm/maltrail <=0.54 Remote Command Execution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de inyección de comandos no autenticados en las versiones anteriores a la 0.54 de stamparm/maltrail (Maltrail). Un atacante remoto puede ejecutar comandos arbitrarios del sistema operativo mediante el parámetro \"nombre de usuario\" en una solicitud POST al endpoint /login. Esto se debe a un manejo inseguro de la entrada proporcionada por el usuario y pasada a subprocess.check_output() en core/http.py, lo que permite la inyección de metacaracteres de shell. La explotación no requiere autenticación y los comandos se ejecutan con los privilegios del proceso Maltrail.","source":"nvd"}],"published":"2025-07-02T13:46:59.778Z","modified":"2026-06-17T09:13:25.537Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":10,"rating":"CRITICAL"}],"cwes":["CWE-78","CWE-306"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"0.54","status":"affected"}],"vendor":"Stamparm","product":"Maltrail","package":"maltrail","source":"cvelist"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/maltrail_rce.rb","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://huntr.com/bounties/be3c5204-fbd9-448d-b97c-96a8d2941e87","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/stamparm/maltrail","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/stamparm/maltrail/issues/19146","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://vulncheck.com/advisories/stamparm-maltrail-rce","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Chris Wild (@briskets)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-07-02T20:29:45.520Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-34073","url":"https://www.cve.org/CVERecord?id=CVE-2025-34073","licence":"CVE Terms of Use","modified":"2026-05-14T02:07:31.453Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-34073","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-34073","licence":"Public domain","modified":"2026-06-17T09:13:25.537Z"}],"updatedAt":"2026-11-25T22:59:00.479Z","epss":{"score":0.05539,"percentile":0.92999,"date":"2026-12-01T12:00:22.000Z"}}