CVE-2026-45067: Symfony Mailer - Header Injection
- Cve: CVE-2026-45067
- Name: Symfony Mailer - Header Injection
- Description: ### Description `Symfony\Component\Mime\Address` is the value-object every Symfony Mailer address (to/cc/bcc/from/reply-to) flows through; its constructor is documented as validating the address and throwing on invalid input, so developers treat it as a security boundary. The constructor accepts email addresses whose local-part (the part before `@`) is an RFC-5322 *quoted string* containing raw `\r\n` bytes — e.g. `"x\r\nBcc: attacker@evil"@example.com`. The stored address is later emitted verbatim into (1) the rendered message headers and (2) `SmtpTransport`'s `MAIL FROM:<...>` / `RCPT TO:<...>` protocol lines, turning the embedded CRLF into a new mail header and/or a new SMTP command. ### Resolution The `Address` constructor now rejects addresses containing line breaks. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/dc2dbd29211eb4ddc451373fa1374fb926e94604) for branch 5.4. ### Credits We would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.
- Impact: Attackers can inject arbitrary mail headers or SMTP commands, potentially enabling email spoofing or mail relay abuse.
- Remediation: Update to Symfony 5.4 or later where the Address constructor rejects addresses containing line breaks.
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.3
- Cvss vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00598
- Epss percentile: 0.49333
- Assignee: [email protected]
- Published at: 2026-07-14T18:17:16Z
- Age in days: 133
- Modified at: 2026-07-14T20:25:54Z
- Patch available: yes
- Public exploits total: 1
- References total: 6
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-45067
- Nvd status: awaiting_analysis
- Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-93 | Improper Neutralization of CRLF Sequences |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/HORKimhab/CVE-2026-45067 | poc-in-github | 2026-06-09 |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sensiolabs:symfony | >= 8.0.0-beta1, < 8.0.12; >= 7.0.0-beta1, < 7.4.12; >= 6.0.0-beta1, < 6.4.40; < 5.4.52 | no | cna_alias_text | /v1/products/sensiolabs/symfony |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| symfony/symfony | commit, fix, package, releases, security_advisory | yes | /v1/repositories/symfony/symfony |
Index
- Repositories: 166
- Repositories high signal: 109
- Packages: 2
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-06-09
- Remote: yes
- Exposed hosts: 168779
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports