PoC Monitor
← All CVEs
CVE-2025-34073published 2 Jul 2025 13:46 UTCData: JSON · API

Stamparm Maltrail

stamparm/maltrail <=0.54 Remote Command Execution

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.

First public PoC 22 hafter publication · 3 Jul 2025 · Metasploit
Public PoCs31 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS10.0critical · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Stamparm Maltrail
  • <= 0.54

Mitigation

The record names no fix. Check the vendor advisory below.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published2 Jul 2025 · t = 0First public PoC3 Jul 2025 · t+22h

First public PoC 22 h after publication; not in CISA KEV. First PoC: Metasploit exploit: Maltrail Unauthenticated Command Injection (exploit/unix/http/maltrail_rce) (Metasploit, 3 Jul 2025).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
infcodev/pentesting_scripts 6 Feb 2025 −146 d 0 PoC older repo: PoC date unknown, not used for the first PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.