Mailer's require_tls Can Be Bypassed by a Man in the Middle
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 20, 2026
Description
Since Symfony 7.3, the require_tls option of EsmtpTransport refuses to send a message over a connection that isn't encrypted. It prevents a network attacker from stripping STARTTLS. But when the server rejected the EHLO command, the transport fell back to HELO and skipped that check.
An attacker in the middle of an SMTP connection that uses STARTTLS could answer EHLO with an error and HELO with a success. The transport then sent the sender, the recipients and the whole message in cleartext, and reported success. No AUTH command is sent on that path, so credentials don't leak.
Connections that use implicit TLS, with smtps:// or port 465, are not affected. Since Symfony 8.1, the Amazon SES SMTP transport enables require_tls by default on ports other than 465 and 2465. So ses+smtp:// DSNs are affected without setting the option.
When TLS is required and the connection isn't encrypted, the transport doesn't fall back to HELO anymore. It throws the same exception as when the server doesn't support STARTTLS.
| Product | Versions |
|---|---|
| symfony/mailer Symfony | 7.3.0 to before 7.4.24 Affected8.0.0 to before 8.1.12 Affected |
| symfony/symfony Symfony | 7.3.0 to before 7.4.24 Affected8.0.0 to before 8.1.12 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | Symfony |
Weaknesses
- CWE-319 Cleartext Transmission of Sensitive Information
References
- CVE-2026-133751Vendor Advisory
- GHSA-rxvg-83cq-mxm7Vendor Advisory
- https://github.com/symfony/symfony/commit/df0b5b3e3cb2e85609cc654b9a117333128529e0Patch
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.