# CVE-2025-34073: stamparm/maltrail <=0.54 Remote Command Execution

- Severity: Critical 10.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.54%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-07-02T13:46:59.778Z
- Modified: 2026-06-17T09:13:25.537Z
- Weaknesses: CWE-78, CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- maltrail: up to 0.54

## References

- <https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/maltrail_rce.rb> (exploit)
- <https://huntr.com/bounties/be3c5204-fbd9-448d-b97c-96a8d2941e87> (exploit, third-party-advisory)
- <https://github.com/stamparm/maltrail> (product)
- <https://github.com/stamparm/maltrail/issues/19146> (issue-tracking)
- <https://vulncheck.com/advisories/stamparm-maltrail-rce> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-34073](https://www.cve.org/CVERecord?id=CVE-2025-34073), CVE Terms of Use, modified 2026-05-14
- NVD: [CVE-2025-34073](https://nvd.nist.gov/vuln/detail/CVE-2025-34073), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-34073 · Whole record: https://cve.day/CVE-2025-34073.json · Rebuilt by cve.day 2026-11-25T22:59:00.479Z
