CVE-2025-34073 json
stamparm/maltrail <=0.54 Remote Command Execution
published 2025-07-02 16 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-19716
- cvss
- 10.0
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.5%
- EPSS 5.5% chance of exploitation in 30 days, percentile 92%
- public exploits
- 1
- Metasploit, plus a Nuclei check
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.
Timeline
- First public exploit (Metasploit exploit/unix/http/maltrail_rce)
- Published
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 16 mo ago
Exploit prediction
5.47% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/unix/http/maltrail_rce Maltrail Unauthenticated Command Injection metasploit exploit, excellent rank, 2023-07-31
- Nuclei template Maltrail <=0.54 Username Parameter - Remote Command Execution nuclei detection template
- raw.githubusercontent.com https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/maltrail_rce.rb referenced PoC, tagged "exploit" by a source, unverified
- huntr.com https://huntr.com/bounties/be3c5204-fbd9-448d-b97c-96a8d2941e87 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 10.0 | 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 |
| CNA | 4.0 | 10.0 | 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 |
Affected products
- Stamparm Maltrail
Classification
References
-
raw.githubusercontent.com
/rapid7/metasploit-framework/master/modules/exploits/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
Sources
- CVE List CVE-2025-34073
- NVD CVE-2025-34073
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.