CVE-2026-93012: Perl Email::Sender::Transport::Sendmail command injection on Windows

CVE-2026-93012 · Severity: critical · CVSS 9.8 · Published 2026-09-21

Email::Sender::Transport::Sendmail is a Perl library used to send emails via the sendmail program. On Windows systems, it constructs a shell command line to invoke sendmail with envelope addresses (sender, recipients) taken from email headers. An attacker who controls the From, To, or Cc header of an email can inject shell metacharacters to execute arbitrary commands on the sending system.

Vendors: Perl.

Quick answers

Is CVE-2026-93012 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-93012 being exploited in the wild.
How severe is CVE-2026-93012?
Critical severity, with a CVSS score of 9.8, published 21 September 2026.
Which products and versions are affected?
Perl Email::Sender::Transport::Sendmail before 2.602.
Is there a fix for CVE-2026-93012?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-93012 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-93012?
Check whether you run Perl Email::Sender::Transport::Sendmail at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability is a command injection affecting Windows (MSWin32) only. On Windows, the transport builds a shell command string containing the envelope sender and recipients, which are passed to open() where they reach cmd.exe; other platforms pass arguments as a list and are not affected. An attacker controlling email headers can inject shell metacharacters like & and | into addresses, leading to arbitrary command execution with the privileges of the sending process. The fix (version 2.602+) validates envelope addresses against a strict pattern and rejects non-compliant addresses before constructing the command.

Affected products

  • Perl Email::Sender::Transport::Sendmail before 2.602

Timeline

  • 2026-09-21: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.