CVE-2025-34073
Published: 02 July 2025
Summary
CVE-2025-34073 is a critical-severity OS Command Injection (CWE-78) vulnerability in Githubusercontent (inferred from references). Its CVSS base score is 10.0 (Critical).
Operationally, ranked in the top 1.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
An unauthenticated command injection vulnerability affects stamparm/maltrail (Maltrail) versions up to and including 0.54. The flaw resides in the handling of the username parameter within POST requests to the /login endpoint, where unsanitized input reaches subprocess.check_output() in core/http.py and permits injection of shell metacharacters. The issue is tracked under CWE-78 and CWE-306 and carries a CVSS 4.0 score of 10.0.
A remote attacker requires no credentials or user interaction to exploit the vulnerability. By submitting a specially crafted login request, the attacker can execute arbitrary operating-system commands that run with the privileges of the Maltrail process, resulting in full confidentiality, integrity, and availability impact on the affected host.
Public references include the Maltrail GitHub repository, issue 19146, a huntr.com bounty report, a Metasploit Framework exploit module, and a VulnCheck advisory. The EPSS score stands at 0.6583 with an identical recorded peak, indicating sustained but not recently escalating exploitation interest after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-19716
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requires established identification and authentication to unlock, mitigating missing authentication for continued system access.
Requiring identification and rationale for actions allowed without authentication ensures critical functions are not left unprotected by forcing review of authentication requirements.
Authorizing mobile device connections to organizational systems ensures authentication is performed for this critical access function.
Guarantees critical functions are protected by mandatory invocation of the access control mechanism.
Auditing sessions makes it possible to detect access to critical functions without required authentication.
The assessment process confirms authentication is present and effective for critical functions, preventing exploitation from missing authentication.
Certification assesses that critical functions have required authentication controls in place.
Disabling non-essential functions and services eliminates the need to secure them, reducing exposure from missing authentication on unnecessary components.