CVE-2026-133751: Mailer's require_tls Can Be Bypassed by a Man in the Middle

Published Nov 25, 2026
·
Updated

Since Symfony 7.3, the requiretls 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 requiretls 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.

Affected Software

1 affected component
composer/symfony/mailer>=7.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Use implicit TLS for SMTP connections (smtps:// or port 465); these connections are not affected.

Event History

Nov 25, 2026
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed by default?

Symfony 8.1 and later Amazon SES SMTP transports using ses+smtp:// are affected by default on ports other than 465 and 2465, because require_tls is enabled by default there. Other SMTP transports are exposed when they use STARTTLS with require_tls enabled.

2

What must an attacker be able to do to exploit this?

The attacker must be positioned to intercept and modify the SMTP connection. They need to make the server-side response to EHLO fail and make the response to the fallback HELO succeed.

3

What information can be exposed on a successful downgrade?

The sender, recipients, and full message content can be transmitted in cleartext while the transport reports success. SMTP AUTH is not sent on this path, so credentials do not leak through this issue.

4

What can be used if patching is not immediately possible?

Use implicit TLS via an smtps:// connection or port 465, which is not affected. The Amazon SES SMTP transport also does not enable require_tls by default on ports 465 and 2465.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203