CVE-2026-93012
Received Received - Intake

Command Execution in Email::Sender::Transport::Sendmail

Vulnerability report for CVE-2026-93012, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-21

Last updated on: 2026-09-21

Assigner: CPANSec

Description

Email::Sender::Transport::Sendmail versions before 2.602 for Perl allow arbitrary command execution on Windows sending a message whose envelope address reaches the shell in _sendmail_pipe. On MSWin32 the envelope sender and every recipient go into a single command string, which open() passes to a shell. Every other platform gets the list form, which runs sendmail directly. When the caller supplies no envelope, Email::Sender::Simple takes the recipients from the To and Cc headers and the sender from the From header. An attacker who controls one of those header addresses runs commands as the sending process.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-21
Last Modified
2026-09-21
Generated
2026-09-22
AI Q&A
2026-09-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Currently, no data is known.

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the Email::Sender::Transport::Sendmail Perl module on Windows systems. It allows arbitrary command execution when envelope addresses (To, Cc, or From headers) contain shell metacharacters like & or |. On Windows, these addresses are passed as part of a command string to the shell, enabling attackers to inject and execute malicious commands.

Detection Guidance

Check Perl applications using Email::Sender::Transport::Sendmail on Windows. Inspect email headers for unusual characters like &, |, or other shell metacharacters in To, Cc, or From fields. Review system logs for unexpected command executions from email processing.

Impact Analysis

If you use Email::Sender::Transport::Sendmail on Windows, an attacker who controls an email address header could execute arbitrary commands on your system with the privileges of the sending process. This could lead to data theft, system compromise, or further network infiltration.

Compliance Impact

This vulnerability could lead to unauthorized access or data breaches, violating GDPR's data protection requirements and HIPAA's security rules for protected health information. Organizations may face legal penalties, reputational damage, and compliance failures if exploited.

Mitigation Strategies

Update Email::Sender::Transport::Sendmail to version 2.602 or later. Replace Sendmail transport with SMTP sender on Windows. Validate all email addresses to ensure they only contain safe characters (-._+=@). Block emails with suspicious header content.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-93012. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart