{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133751","assignerOrgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","state":"PUBLISHED","assignerShortName":"Symfony","dateReserved":"2026-11-20T14:01:43.157Z","datePublished":"2026-11-25T10:00:11.358Z","dateUpdated":"2026-11-25T10:08:10.355Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","shortName":"Symfony","dateUpdated":"2026-11-25T10:08:10.355Z"},"title":"Mailer's require_tls Can Be Bypassed by a Man in the Middle","datePublic":"2026-11-25T09:36:12.000Z","descriptions":[{"lang":"en","value":"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.\n\nAn 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.\n\nConnections 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.\n\nWhen 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.","supportingMedia":[{"type":"text/markdown","base64":false,"value":"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.\n\nAn 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.\n\nConnections 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.\n\nWhen 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":[{"vendor":"Symfony","product":"symfony/mailer","collectionURL":"https://packagist.org","packageName":"symfony/mailer","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"7.3.0","status":"affected","lessThan":"7.4.24","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.12","versionType":"semver"}]},{"vendor":"Symfony","product":"symfony/symfony","collectionURL":"https://packagist.org","packageName":"symfony/symfony","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"7.3.0","status":"affected","lessThan":"7.4.24","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.12","versionType":"semver"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-319","description":"CWE-319 Cleartext Transmission of Sensitive Information","type":"CWE"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","baseScore":6.3,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://symfony.com/cve-2026-133751","name":"CVE-2026-133751","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-rxvg-83cq-mxm7","name":"GHSA-rxvg-83cq-mxm7","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/commit/df0b5b3e3cb2e85609cc654b9a117333128529e0","tags":["patch"]}],"credits":[{"lang":"en","value":"Jack Worman","type":"remediation developer"},{"lang":"en","value":"Dirk Dassow","type":"finder"}],"source":{"advisory":"GHSA-rxvg-83cq-mxm7","discovery":"UNKNOWN"},"x_generator":{"engine":"symfony/ghsa-to-cve"}}}}