CVE-2026-93012: 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
Perl Email::Sender Sendmail transport before 2.602 allows Windows command execution via a crafted envelope address.
Stig Palmquist reported CVE-2026-93012 on the oss-security list. Email::Sender::Transport::Sendmail before 2.602 passes a message envelope address to a shell in _sendmail_pipe on Windows, allowing arbitrary command execution. The flaw is in the Perl Email-Sender distribution published on MetaCPAN and GitHub. The report does not describe active exploitation.
- Affects Email::Sender::Transport::Sendmail before version 2.602.
- Crafted Windows envelope addresses reach a shell in _sendmail_pipe.
- Disclosed on oss-security; no in-the-wild exploitation is reported.
Vulnerabilities mentionedAll →
- CVE-2026-930129.8—Command Injection in Email::Sender::Transport::Sendmail (Perl) on Windowspublished · Perl (CPAN) — Email::Sender project Email::Sender::Transport::Sendmail
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-93012 | Command Injection in Email::Sender::Transport::Sendmail (Perl) on Windows Email::Sender::Transport::Sendmail before version 2.602 builds its sendmail command on Windows (MSWin32) by concatenating the envelope sender and every recipient into a single string that open() passes to a shell, allowing OS command injection (CWE-78). An attacker who controls an envelope address can run arbitrary commands as the user owning the sending process; if the caller supplies no envelope, Email::Sender::Simple derives the sender from the From header and recipients from the To and Cc headers, so attacker-influenced message headers alone may be enough. Only Windows deployments are affected — every other platform uses the safe list-form invocation that runs sendmail directly. Exploitation requires an application to send mail through this transport with an address that is not fully controlled or sanitized. No CVSS score has been assigned, the issue is not in CISA's KEV, and no public PoC or known in-the-wild exploitation exists. |
Posted by Stig Palmquist on Sep 21 ======================================================================== https://metacpan.org/dist/Email-Sender https://github.com/rjbs/Email-Sender...
This source does not provide full text. Read it at seclists.org.