# GHSA-RXVG-83CQ-MXM7: Mailer's require\_tls Can Be Bypassed by a Man in the Middle

- Database: GitHub
- Severity: CVSS 6.3 (Medium)
- Published: 2026-11-25
- Modified: 2026-11-25

## Tracked as

- [CVE-2026-133751](https://cve.now/CVE-2026-133751.md): Symfony Mailer cleartext email transmission over SMTP STARTTLS

## Affected versions

- symfony/mailer (Packagist): from 7.3, fixed in 7.4.24
- symfony/mailer (Packagist): from 8, fixed in 8.1.12
- symfony/symfony (Packagist): from 7.3, fixed in 7.4.24
- symfony/symfony (Packagist): from 8, fixed in 8.1.12

## Description

### 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.

### Resolution

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.

The patches for this issue are available [here](https://github.com/symfony/symfony/commit/df0b5b3e3cb2e85609cc654b9a117333128529e0) for branch 7.4 (and forward-ported to 8.1 and 8.2).

### Credits

We would like to thank [Jack Worman](https://github.com/jack-worman) for reporting the issue and providing the fix, and Dirk Dassow for reporting it independently.

## References

- https://github.com/symfony/symfony/security/advisories/GHSA-rxvg-83cq-mxm7

Page: https://cve.now/GHSA-RXVG-83CQ-MXM7

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
