Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 5.7%top 7.5%

CVE-2025-34073: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Stamparm Maltrail

0
Critical
VulnerabilityCVE-2025-34073cvecve-2025-34073cwe-78cwe-306
Published: 07/02/2025 (07/02/2025, 13:46:59 UTC)
Source: CVE Database V5
Vendor/Project: Stamparm
Product: Maltrail

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.

CVSS v4.0

Score 10.0critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
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

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/14/2026, 01:53:43 UTC

Technical Analysis

This vulnerability (CVE-2025-34073) affects Stamparm Maltrail (<=0.54) and is caused by improper neutralization of special elements in user input (username parameter) used in an OS command context. Specifically, the username parameter in a POST request to /login is passed unsafely to subprocess.check_output(), allowing injection of shell metacharacters and arbitrary command execution. The flaw requires no authentication and results in command execution with the same privileges as the Maltrail process, representing a critical security risk. The CVSS 4.0 base score is 10.0, reflecting its critical severity and ease of exploitation.

Potential Impact

Successful exploitation allows a remote unauthenticated attacker to execute arbitrary operating system commands on the host running Maltrail, with the same privileges as the Maltrail process. This can lead to full system compromise depending on the privileges of the Maltrail service. The vulnerability is critical due to its unauthenticated remote code execution nature and high CVSS score.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, it is recommended to restrict access to the Maltrail /login endpoint to trusted networks only and monitor for suspicious POST requests targeting the username parameter. Avoid exposing Maltrail instances directly to untrusted networks. Follow the vendor's updates closely for an official patch or mitigation instructions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulnCheck
Date Reserved
2025-04-15T19:15:22.550Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68653a166f40f0eb7292c95d

Added to database: 07/02/2025, 13:54:30 UTC

Last enriched: 05/14/2026, 01:53:43 UTC

Last updated: 09/07/2026, 10:52:04 UTC

Views: 276

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses