CVE-2026-133751Mailer's require_tls Can Be Bypassed by a Man in the Middle
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by Symfony, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- symfony/mailer: affected: 7.3.0 to before 7.4.24, 8.0.0 to before 8.1.12; fixed in
7.4.24,8.1.12 - symfony/symfony: affected: 7.3.0 to before 7.4.24, 8.0.0 to before 8.1.12; fixed in
7.4.24,8.1.12
Vendor advisories:
- https://symfony.com/cve-2026-133751 (vendor-advisory)
- https://github.com/symfony/symfony/security/advisories/GHSA-rxvg-83cq-mxm7 (vendor-advisory)
- https://github.com/symfony/symfony/commit/df0b5b3e3cb2e85609cc654b9a117333128529e0 (patch)
References
- https://symfony.com/cve-2026-133751
- https://github.com/symfony/symfony/security/advisories/GHSA-rxvg-83cq-mxm7
- https://github.com/symfony/symfony/commit/df0b5b3e3cb2e85609cc654b9a117333128529e0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.