Read the docs

Symfony Mailer require_tls check is skipped on HELO fallback

Priority LOW 29CWE-319Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-319.

Summary

Symfony's symfony/mailer and symfony/symfony from 7.3.0 before 7.4.24 and from 8.0.0 before 8.1.12 are affected. When the server rejects EHLO, EsmtpTransport falls back to HELO and skips the require_tls check (CWE-319). A man-in-the-middle on a STARTTLS connection can answer EHLO with an error and HELO with success, so the whole message is sent in cleartext. Implicit TLS connections are not affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

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.

Why it matters now

EPSS 0.005 35th percentileScored 2026-11-30
Fix Fixed symfony/mailer (Symfony): 7.4.24, 8.1.12symfony/symfony (Symfony): 7.4.24, 8.1.12

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
symfonysymfony/mailer7.3.0 to before 7.4.24; 8.0.0 to before 8.1.127.4.24, 8.1.12Patch availableCNA
symfonysymfony/symfony7.3.0 to before 7.4.24; 8.0.0 to before 8.1.127.4.24, 8.1.12Patch availableCNA
  • symfony/mailer Vendorsymfony 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 Patch available CNA
  • symfony/symfony Vendorsymfony 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 Patch available CNA

Remediation

Update symfony/mailer and symfony/symfony to version 7.4.24 or 8.1.12.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

  • Fix · CNA symfony/mailer (Symfony) Fixed in 7.4.24, 8.1.12
  • Fix · CNA symfony/symfony (Symfony) Fixed in 7.4.24, 8.1.12

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    symfony/symfony 7.4.24, 8.1.12

    7 records Highest priority Priority LOW 7 LOW

    Other records, highest priority first

    • TI-2026-98152 Unclosed comments make Symfony ExpressionLanguage lexer quadraticPriority LOW 39
    • TI-2026-98132 JsonPath Queries Hold the Process Through Duplicated Nodes and Repeated WorkPriority LOW 29
    • TI-2026-98150 Symfony HTTP workers in CLI mode leak full exception dumpsPriority LOW 28
  • Release ·

    symfony/mailer 7.4.24, 8.1.12

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2026-98143 Symfony Mailer accepts injected replies right after STARTTLSPriority LOW 28

Timeline

  1. 2026-11-25 Threatist record created from CVE-2026-133751

References

  • TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
  • TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
  • TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
  • TI-2022-08704 Symfony storing cookie headers in HttpCache CVSS 3.1HIGH 8.8
  • TI-2026-98149 Symfony Serializer CSV Header Nesting Without Limit Crashes PHP CVSS 4.0HIGH 8.7
  • TI-2026-98148 Nested short ternaries make the Symfony expression parser hang CVSS 4.0HIGH 8.7
See all 129 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences