Intel

AIKIDO-2026-970207

mailer is vulnerable to Command Injection

GHSA-j9fr-mx5c-8w5vPublished 4 days ago
November 16, 2026

82

CVE Score

High

Command Injection

Are you affected? Scan for Free

TL;DR

SMTP envelope addresses and message header values flow into SMTP commands and MIME output without comprehensive control-character and delimiter validation. user controlled addresses or headers can inject additional SMTP recipients or parameters, or forge MIME headers, altering message delivery or content. The fix validates envelope mailboxes and headers, rejects command control characters, and escapes quoted parameters.

How do I fix this?

Upgrade the mailer library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and pass untrusted data into a Message or its envelope addresses.

Package

Versions

0.5.0 - 7.2.0

Fixed in 7.2.1

Background info

mailer is vulnerable to Command Injection in versions 0.5.0 - 7.2.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea