Home

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.

PUBLISHED Reserved 2025-04-15 | Published 2025-07-02 | Updated 2026-05-14 | Assigner VulnCheck




CRITICAL: 10.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Problem types

CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

CWE-306 Missing Authentication for Critical Function

Product status

Default status
unaffected

Any version
affected

Credits

Chris Wild (@briskets) finder

References

raw.githubusercontent.com/...loits/unix/http/maltrail_rce.rb exploit

huntr.com/bounties/be3c5204-fbd9-448d-b97c-96a8d2941e87 third-party-advisory exploit

github.com/stamparm/maltrail product

github.com/stamparm/maltrail/issues/19146 issue-tracking

vulncheck.com/advisories/stamparm-maltrail-rce third-party-advisory

cve.org (CVE-2025-34073)

nvd.nist.gov (CVE-2025-34073)

Download JSON