CVE-2025-34073

CRITICAL NUCLEI

stamparm/maltrail <=0.54 - Command Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2025-34073. Includes Metasploit module exploits/unix/http/maltrail_rce. A Nuclei detection template is also available.

AI-analyzed exploit summary This Metasploit module exploits a command injection vulnerability in Maltrail versions <= 0.54 via the `username` parameter in the login endpoint. It allows unauthenticated remote code execution by injecting commands into the `subprocess.check_output` function.

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.

Exploits (1)

metasploit WORKING POC EXCELLENT
rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/http/maltrail_rce.rb

This Metasploit module exploits a command injection vulnerability in Maltrail versions <= 0.54 via the `username` parameter in the login endpoint. It allows unauthenticated remote code execution by injecting commands into the `subprocess.check_output` function.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Maltrail <= 0.54
No auth needed
Prerequisites: Network access to the Maltrail server on port 8338
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

Maltrail <=0.54 Username Parameter - Remote Command Execution
CRITICALby SeungAh-Hong
Shodan: http.title:"Maltrail"
FOFA: app="Maltrail"

References (5)

Core 5

Scores

CVSS v4 10.0
EPSS 0.6583
EPSS Percentile 98.5%
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

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-306 CWE-78
Status published
Products (1)
Stamparm/Maltrail < 0.54
Published Jul 02, 2025
Tracked Since Feb 18, 2026