Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.8

CVE-2026-93012: Perl Email Sender library can run attacker commands on Windows

CVE-2026-93012 · published 28 days ago
Summary

The Email::Sender::Transport::Sendmail module for Perl (versions before 2.602) builds a single command line that includes the sender and recipient addresses and passes it to the Windows command shell. If an attacker can control any of those email headers, they can cause the program to execute arbitrary commands with the same rights as the sending process. Update the library to version 2.602 or later, or apply any available patches, to stop the command from being built in this unsafe way.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
Ecosystem VendorProductAffected versions
Ubuntu:16.04:LTS canonical libemail-sender-perl All versions
Original advisory text
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
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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.8 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-78OS Command Injection
Timeline
Published21 Sep 2026
Updated19 Oct 2026
First seen21 Sep 2026
Sources
CVE-2026-93012 · MITRE
Track software like this
Free during beta