cvelo
P3 · MediumCVSS 6.3EPSS 0.5%

Mailer's require_tls Can Be Bypassed by a Man in the Middle

  • CVE-2026-133751
  • EUVD-2026-135240

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.

Text from the CVE.org record.

Recommendation

  • Symfony symfony/mailer

    • If you run a version from 8.0.0 to before 8.1.12update to 8.1.12 or laterMinor version change: check the release notes
    • If you run a version from 7.3.0 to before 7.4.24update to 7.4.24 or laterMinor version change: check the release notes
  • Symfony symfony/symfony

    • If you run a version from 8.0.0 to before 8.1.12update to 8.1.12 or laterMinor version change: check the release notes
    • If you run a version from 7.3.0 to before 7.4.24update to 7.4.24 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Symfony symfony/mailer

    Affected versionsFixed in
    from 8.0.0 to before 8.1.128.1.12
    from 7.3.0 to before 7.4.247.4.24
  • Symfony symfony/symfony

    Affected versionsFixed in
    from 8.0.0 to before 8.1.128.1.12
    from 7.3.0 to before 7.4.247.4.24

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.