Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app passing user input as mail recipient
-
DeliverySubmit recipient beginning with '-'
-
ExploitAddress flows to sendmail '-t' invocation
-
Executionsendmail parses value as command-line option
-
ImpactAttacker manipulates sendmail behavior / file write
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Exploitation requires SendmailTransport to be running in |
| Impact | Signals are mixed and lean toward moderate-in-practice despite the High headline score. The NVD CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N) yields 8.7 by treating the flaw as remotely reachable with no privileges and high integrity impact and zero confidentiality/availability impact. However, real-world exploitability is gated by two conditions not reflected in the raw vector: the transport must be configured in the non-default |
| Exploit ScenarioDerived | An application lets users supply an email address (for example a 'send to a friend' or notification field) and delivers via Symfony Mailer configured with sendmail in |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 14, 2026
Argument (option) injection in Symfony Mailer's SendmailTransport lets a dash-prefixed recipient address be interpreted as a sendmail command-line flag, allowing an attacker who controls a recipient value to manipulate how the local sendmail binary is invoked. It affects symfony/mailer (and the monolithic symfony/symfony) before 5.4.52, 6.4.40, 7.4.12 and 8.0.12 when the transport runs in -t mode. No public exploit identified at time of analysis; EPSS is low (0.06%, 20th percentile) and the issue is not in CISA KEV, but the NVD CVSS 4.0 score is 8.7 (High) driven by a high integrity impact.
Earlier versions of this analysis (1)
Argument injection in Symfony Mailer's SendmailTransport component allows an attacker who controls recipient email addresses to inject arbitrary sendmail command-line options when the transport operates in -t mode. The flaw affects symfony/mailer and symfony/symfony across the 5.4, 6.x, and 7.x branches, with fixed releases confirmed at 5.4.52, 6.4.40, and 7.4.12. No public exploit code or CISA KEV listing exists at time of analysis, but the vulnerability is exploitable wherever application logic permits user-influenced recipient addresses and -t mode is configured.
RemediationAI
Vendor-released patch: upgrade to symfony/mailer (or symfony/symfony) 5.4.52, 6.4.40, 7.4.12, or 8.0.12 depending on your release line, via composer update symfony/mailer - this adds the -- end-of-options separator before recipients (commit c45144862dc289d03952f41f6078174089a3afc6). Consult the advisory at https://github.com/symfony/symfony/security/advisories/GHSA-xx3c-qf5g-hc39 and release notes at https://github.com/symfony/symfony/releases/tag/v7.4.12 (and the matching 5.4.52 / 6.4.40 / 8.0.12 tags). If you cannot patch immediately, switch the SendmailTransport out of -t mode back to the default -bs mode (SMTP over stdin), which is not affected - the trade-off is that -bs behaves slightly differently in how recipients are derived from the message. As a second compensating control, validate and reject recipient addresses that begin with - before they reach the mailer (e.g. constrain user-supplied email inputs), accepting that this adds application-side input validation you must maintain. These controls reduce exposure but the upgrade is the definitive fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 10 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is Symfony's Mailer, specifically the SendmailTransport class (pkg:composer/symfony_mailer, also shipped inside the monolithic pkg:composer/symfony_symfony). Symfony Mailer chooses a transport from the MAILER_DSN setting; the sendmail:// transport shells out to the local sendmail binary. Sendmail supports -bs (SMTP over stdin - Symfony's default and NOT vulnerable) and -t (recipients passed as command-line arguments). The root cause is CWE-88 (Argument Injection / improper neutralization of argument delimiters): in -t mode the recipient addresses were appended to the command line without a -- end-of-options separator. Because Symfony\Component\Mime\Address accepts addresses that begin with -, such a value is parsed by sendmail as an option (e.g. -C, -X, -O) rather than as a destination. The commit diff (c45144862dc289d03952f41f6078174089a3afc6) confirms the fix simply appends ' --' before the recipient list.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
AC:H because exploitation needs the non-default sendmail '-t' mode plus an app path passing attacker input as a recipient; PR:N/UI:N per the injection reaching sendmail directly; integrity-only impact (I:H, C:N, A:N).
Primary rating from Vendor (https://github.com/symfony/symfony).
CVSS VectorVendor: https://github.com/symfony/symfony
Lifecycle Timeline
2DescriptionCVE.org
Description
Symfony Mailer selects a transport via the MAILER_DSN environment variable / configuration (e.g. smtp://..., sendmail://..., native://default). SendmailTransport invokes the local sendmail binary and supports two modes: -bs (speak SMTP over stdin: the default) and -t (read the message on stdin, pass recipients as command-line arguments).
In -t mode, recipient addresses are appended to the sendmail command line without a -- end-of-options separator. A recipient address beginning with - (which Symfony\Component\Mime\Address accepts as valid) is therefore interpreted by sendmail as a command-line option rather than an address.
Resolution
The SendmailTransport transport now ensure -- is set before the list of recipients.
The patch for this issue is available here for branch 5.4.
Credits
Symfony would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.
Executive ViewAI
Symfony Mailer's SendmailTransport contains an argument injection vulnerability (CVE-2026-45068) that allows attackers controlling recipient addresses to inject sendmail command-line flags, potentially compromising email delivery integrity. This affects organizations using unpatched versions before 5.4.52, 6.4.40, 7.4.12, or 8.0.12, creating risk to critical email infrastructure, though no public exploit has been identified.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-44370
GHSA-xx3c-qf5g-hc39
NVD
CVE.org
EPSS
Exploit-DB