CVE-2026-93012
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
0 < 2.602 | affected |
Weaknesses
- CWE-78: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Workarounds
For Windows deployments that cannot upgrade to Email-Sender 2.602, use a transport that does not build a command line, such as Email::Sender::Transport::SMTP.
ADP Enrichment
CVE Program Container
Additional References
References
- https://github.com/rjbs/Email-Sender/commit/9a587bc9ff4edae13239190c2651da2c76b1e72c.patch
- https://metacpan.org/release/RJBS/Email-Sender-2.602/changes
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.