Vulnerability · Published Jul 2, 2025 · Assigned by VulnCheck

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

Critical 10.0

In plain English

A critical-severity OS command injection in Maltrail from Stamparm. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 5.5% (higher than 93% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei.

Severity (CVSS 4.0)10.0Critical
Exploit odds (30 days)5.5%top 7.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling2Metasploit, Nuclei

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

Affected products (as reported)

VendorProductVersions
Stamparm Maltrail 0 – through 0.54

Weakness: CWE-78, CWE-306 · Vector: 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

References