CVE-2025-34073CWE-306CWE-78

stamparm/maltrail <=0.54 Remote Command Execution

Critical · published July 2, 2025

CVSS v4.0
10.0
EPSS
5%
Percentile
92.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
10.0 · CRITICAL
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
EPSS
0.05472 · 92.7th percentile
Weaknesses
CWE-306 · Missing Authentication for Critical Function; CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2025-07-02T13:46Z
EPSS history
Timeline
  • 02 JUL 13:46Z
    stamparm/maltrail <=0.54 Remote Command Execution
    cvelistv5