CVE-2026-133755: Mailer Trusts Replies That a Man in the Middle Injects Right After STARTTLS

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 after the server's 220 reply to STARTTLS, the transport started the TLS handshake without checking whether more data had already arrived.

An attacker in the middle of the connection could add cleartext replies right after the 220. The transport then read them as if they came from the encrypted session. The attacker could make the transport skip AUTH, or report a message as sent while the server had rejected it.

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.

The transport now refuses to start TLS when the server sends data right after its answer to STARTTLS, and throws a TransportException instead.

Affected Software

1 affected component
Symfony Symfony Mailer>=7.3

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?

Amazon SES SMTP transport connections configured with ses+smtp:// are affected without explicitly setting the option when using Symfony 8.1 or later on ports other than 465 and 2465, because require_tls is enabled by default there. Other deployments require use of STARTTLS through EsmtpTransport for this condition to apply.

2

What does an attacker need to exploit this?

The attacker must be positioned in the network path between the mailer and SMTP server. They must inject cleartext SMTP replies immediately after the server's 220 response to STARTTLS, before the TLS handshake is processed.

3

What is the practical impact of a successful attack?

The injected replies can be treated as though they were received inside the encrypted session. This can cause the transport to skip SMTP authentication or report that a message was sent even though the server rejected it.

4

What can be done if an update cannot be applied immediately?

Use implicit TLS instead of STARTTLS, such as an smtps:// connection or port 465. These connection modes are not affected.

5

How can this issue be recognized after applying the fix?

The corrected transport refuses to begin TLS if the server sends additional data immediately after its STARTTLS response. It raises a TransportException instead of processing that data as part of the encrypted session.

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