CVE-2025-34073
published critical CVSS 4.0 · 10.0stamparm/maltrail <=0.54 Remote Command Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Stamparm | — | maltrailMaltrail · 0 through 0.54 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Stamparm | Maltrail | 0 through 0.54 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
2- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-306 CWE-306 Missing Authentication for Critical Function
References
5- https://github.com/stamparm/maltrail
- https://github.com/stamparm/maltrail/issues/19146
- https://huntr.com/bounties/be3c5204-fbd9-448d-b97c-96a8d2941e87
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/unix/http/maltrail_rce.rb
- https://vulncheck.com/advisories/stamparm-maltrail-rce
Provider assertions
2VulnCheck · cna
stamparm/maltrail <=0.54 Remote Command Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9779215ed1de8a48cefcf2410219ecc247a2b1463b2055a9115bddab000f391e
- Ingested
- 23 Sep 2026, 08:45:38 UTC
- Source record
- Official CVE record