Symfony: Argument Injection in SendmailTransport via Dash-Prefixed Recipient Address
CVE-2026-45068Published 14 Jul 2026, 19:02 UTC
Real-world risk
6.0/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.7
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, SendmailTransport in -t mode appended recipient addresses to the sendmail command line without a -- end-of-options separator, allowing an address beginning with - to be interpreted as a sendmail command-line option instead of an address. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| SymfonyWidespread | < 5.4.52; >= 6.0.0-BETA1, < 6.4.40; >= 7.0.0-BETA1, < 7.4.12; >= 8.0.0-BETA1, < 8.0.12 | 5.4.52, 6.4.40, 7.4.12, 8.0.12 |
| mailerNiche | < 5.4.52; >= 6.0.0-BETA1, < 6.4.40; >= 7.0.0-BETA1, < 7.4.12; >= 8.0.0-BETA1, < 8.0.12 | 5.4.52, 6.4.40, 7.4.12, 8.0.12 |
What to do
Update to a fixed version: 5.4.52, 6.4.40, 7.4.12, 8.0.12.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 37), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 1 × threat 0.855.950
- Rounded to one decimal between 0.1 and 106.0
Exploitation and evidence timeline
- 14 Jul 2026 Published
- 3 Dec 2026 Risk 6.0 (cvss fallback)
Weakness
CWE-88
References
- https://github.com/symfony/symfony/security/advisories/GHSA-xx3c-qf5g-hc39vendor-advisory
- https://github.com/symfony/symfony/commit/c45144862dc289d03952f41f6078174089a3afc6misc
- https://github.com/symfony/symfony/releases/tag/v5.4.52misc
- https://github.com/symfony/symfony/releases/tag/v6.4.40misc
- https://github.com/symfony/symfony/releases/tag/v7.4.12misc
- https://github.com/symfony/symfony/releases/tag/v8.0.12misc
- CVE-2026-45068 on CVE.org