Skip to content
Heist/ feed
Back to feed
Critical

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-93012
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:04 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 21 Sept 2026, 17:19 UTC

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.

osv:CVE-2026-93012
Complete source record
{
  "id": "502e676cabb3f903f7973db5ccf55179290bd24735159979f59c917025b49b41",
  "url": "https://osv.dev/vulnerability/CVE-2026-93012",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "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",
    "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.",
    "evidence": "osv:CVE-2026-93012",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-93012",
      "aliases": [
        "CVE-2026-93012"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/rjbs/email-sender",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "fcca94e18a7deedd46c20c7a51f4c404263e7449"
                },
                {
                  "fixed": "9a587bc9ff4edae13239190c2651da2c76b1e72c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.602"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9a587bc9ff4edae13239190c2651da2c76b1e72c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.601",
            "2.600",
            "2.500",
            "1.500",
            "1.300036",
            "1.300035",
            "1.300034",
            "1.300033",
            "1.300031",
            "1.300030",
            "1.300029",
            "1.300028",
            "1.300027",
            "1.300021",
            "1.300020",
            "1.300019",
            "1.300018",
            "1.300017",
            "1.300016",
            "1.300015",
            "1.300014",
            "1.300013",
            "1.300012",
            "1.300011",
            "1.300010",
            "1.300009",
            "1.300008",
            "1.300007",
            "1.300006",
            "1.300005",
            "1.300004",
            "1.300003",
            "1.300002",
            "1.300001",
            "1.300000",
            "0.120002",
            "0.120001",
            "0.120000",
            "0.110005",
            "0.110004",
            "0.110003",
            "0.110002",
            "0.110001",
            "0.110000",
            "0.102370",
            "0.102360",
            "0.101760",
            "0.100460",
            "0.100450",
            "0.100110",
            "0.093380",
            "0.093110",
            "0.092840",
            "0.092820",
            "0.091940",
            "0.091930",
            "0.091870",
            "0.091661",
            "0.004",
            "0.003",
            "0.002",
            "0.001",
            "0.000"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93012.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.781367942Z",
      "provider": "osv",
      "references": [
        "https://cpan.org/modules",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93012.json",
        "https://metacpan.org/release/RJBS/Email-Sender-2.602/changes",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-93012",
        "https://github.com/rjbs/Email-Sender/commit/9a587bc9ff4edae13239190c2651da2c76b1e72c.patch",
        "https://github.com/rjbs/Email-Sender"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "CPANSec",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93012.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-93012",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497668,
  "published_at": "2026-09-21T17:19:27.569+00:00"
}