# CVE-2026-7666: Potential unencrypted email transmission via STARTTLS in the SMTP backend

- Severity: Low 2.3 (CVSS:4.0, scored by DSF) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-06-03T13:16:15.446Z
- Modified: 2026-09-10T03:51:08.992Z
- Also known as: GHSA-mm6v-q8q9-pgcf, BIT-DJANGO-2026-7666, PYSEC-2026-200
- Weaknesses: CWE-319
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: DSF

## Description

An issue was discovered in Django 6.0 before 6.0.6 and 5.2 before 5.2.15.
`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.
Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.
Django would like to thank Kasper Dupont for reporting this issue.

(As written by CVE List.)

## Affected

- django: from 6.0 before 6.0.6; from 5.2 before 5.2.15 (not affected: 6.0.6; 5.2.15)
- django (PyPI): from 5.2 before 5.2.15; from 6.0 before 6.0.6
- djangoproject django: from 5.2 before 5.2.15; from 6.0 before 6.0.6
- django (Bitnami): from 5.2.0 before 5.2.15; from 6.0.0 before 6.0.6

## Every score

- DSF: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- DSF: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`
- Bitnami Vulnerability Database: rating Low

## References

- <https://docs.djangoproject.com/en/dev/releases/security/> (advisory, fix, patch, vendor-advisory)
- <https://groups.google.com/g/django-announce> (advisory, article, mailing-list, release-notes, web)
- <https://www.djangoproject.com/weblog/2026/jun/03/security-releases/> (advisory, fix, patch, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-7666> (advisory, web)
- <https://docs.djangoproject.com/en/dev/releases/security> (web)
- <https://github.com/django/django> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-200.yaml> (web)
- <https://www.djangoproject.com/weblog/2026/jun/03/security-releases> (web)
- <https://github.com/advisories/GHSA-mm6v-q8q9-pgcf> (advisory)

## Sources

- CVE List: [CVE-2026-7666](https://www.cve.org/CVERecord?id=CVE-2026-7666), CVE Terms of Use, modified 2026-06-03
- GitHub Advisory Database: [GHSA-mm6v-q8q9-pgcf](https://github.com/advisories/GHSA-mm6v-q8q9-pgcf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-7666](https://nvd.nist.gov/vuln/detail/CVE-2026-7666), Public domain, modified 2026-07-21
- PyPA Advisory Database: [PYSEC-2026-200](https://osv.dev/vulnerability/PYSEC-2026-200), CC-BY-4.0, modified 2026-07-23
- Bitnami Vulnerability Database: [BIT-DJANGO-2026-7666](https://osv.dev/vulnerability/BIT-DJANGO-2026-7666), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-7666 · Whole record: https://cve.day/CVE-2026-7666.json · Rebuilt by cve.day 2026-11-25T22:59:23.637Z
