{"id":"CVE-2026-7666","published":"2026-06-03T13:16:15Z","modified":"2026-06-03T15:43:34Z","title":"Potential unencrypted email transmission via STARTTLS in the SMTP backend","vendor":"djangoproject","product":"Django","tier":"tail","description":{"text":"An issue was discovered in Django 6.0 before 6.0.6 and 5.2 before 5.2.15.\n`django.core.mail.backends.smtp.EmailBackend` in Django fails to prevent reuse of a partially-initialized connection after a failed `STARTTLS` handshake when `fail_silently=True`, which allows on-path network attackers to read email content via cleartext interception.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Kasper Dupont for reporting this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.1,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0015,"percentile":0.0427,"provenance":"source"},"cwes":[{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["vendor-advisory"]},{"url":"https://groups.google.com/g/django-announce","tags":["mailing-list"]},{"url":"https://www.djangoproject.com/weblog/2026/jun/03/security-releases/","tags":["vendor-advisory"]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":0.85},{"name":"CVSS severity","points":2.17}]},"vendorSlug":"djangoproject","affectedVersions":[{"vendor":"djangoproject","product":"Django","versions":[">= 6.0, < 6.0.6",">= 5.2, < 5.2.15"]}],"fixedVersions":[{"vendor":"djangoproject","product":"Django","versions":["6.0.6","5.2.15"]}],"capec":[{"id":"CAPEC-94","name":"Adversary in the Middle (AiTM)"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-03T15:43:26.714914Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"django","vulnerableRanges":[">=5.2, <5.2.15",">=6.0, <6.0.6"],"patched":["5.2.15","6.0.6"],"from":["GHSA-mm6v-q8q9-pgcf","PYSEC-2026-200"],"provenance":"source"}],"summary":{"text":"Django's SMTP email backend (django.core.mail.backends.smtp.EmailBackend) can reuse a partially initialized connection after a failed STARTTLS handshake when fail_silently=True, so email is sent in cleartext. An on-path network attacker can read the email content if they can intercept the connection, and exploitation requires user interaction and a high-complexity attack condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:23:25Z"},"euvd":{"id":"EUVD-2026-34087","exploited":false,"provenance":"source"}}