Intel

AIKIDO-2026-10886

symfony/mailer is vulnerable to Argument Injection

Argument InjectionCVE-2026-45068 Published May 21, 2026

76

High Risk

This Affects:

PHPsymfony/mailer
0.0.1 - 5.4.51
Fixed in 5.4.52
6.0.0 - 6.4.39
Fixed in 6.4.40
7.0.0 - 7.4.11
Fixed in 7.4.12
8.0.0 - 8.0.11
Fixed in 8.0.12
Are you affected? Scan for Free

TL;DR

SendmailTransport appends recipient addresses to the local sendmail command without separating them from options. A recipient address beginning with a dash can be interpreted by sendmail as an option instead of an address. Pre-fix applications using sendmail -t mode can pass attacker-influenced command options to the mailer binary. The fix inserts an end-of-options marker before recipient arguments.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

symfony/mailer is vulnerable to Argument Injection in versions 0.0.1 - 5.4.51, 6.0.0 - 6.4.39, 7.0.0 - 7.4.11 and 8.0.0 - 8.0.11.

How to fix this

Upgrade the symfony/mailer and/or symfony/symfony library to the patch version.