Potential unencrypted email transmission via STARTTLS in the SMTP backend (djangoproject Django)

CVE-2026-7666
LOW 2.3

At a glance

Source
NVD
EPSS
EPSS 0.15 % Β· percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
DSF
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-319 β€” Cleartext Transmission of Sensitive Information

References

Scores

VersionScoreVectorScored by
CVSS 3.1LOW 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:NDSF
CVSS 4.0LOW 2.3CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NDSF
CVSS 4.0LOW 2.3CVSS: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:XNVD Β· 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 (Secondary)
CVSS 3.1LOW 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:NNVD Β· 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 (Secondary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
djangoproject Β· Djangoaffected 6.0 < 6.0.6 ; unaffected 6.0.6 ; affected 5.2 < 5.2.15 ; unaffected 5.2.15

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD