Skip to main content
VulnerabilityPublished

CVE-2026-7666: djangoproject Django · Cleartext Transmission

Affects djangoproject DjangoSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 3.1 Low : upgrade to 6.0.6 or 5.2.15 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
3.1Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.0.6, 5.2.15
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade Django and django to 6.0.6 or 5.2.15.

Affected software

ProductAffectedFixed in
djangoprojectDjangoAffected
  • >=6.0 <6.0.6
Fixed in
  • 6.0.6
djangoprojectDjangoAffected
  • >=5.2 <5.2.15
Fixed in
  • 5.2.15
PyPIdjangopkg:pypi/djangoOther threatsAffected
  • =5.2
  • =6.0
Fixed in–
PyPIdjangopkg:pypi/djangoOther threatsAffected
  • >=6.0 <6.0.6
  • >=5.2 <5.2.15
Fixed in
  • 6.0.6
  • 5.2.15

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid using fail_silently=True with the SMTP email backend or ensure that STARTTLS handshakes succeed to prevent fallback to cleartext transmission.

Description

A vulnerability in Django's SMTP email backend allows an on-path attacker to intercept email content in cleartext if a STARTTLS handshake fails and the connection is reused with fail_silently=True. This affects Django versions 6.0 and 5.2. The issue arises because the backend does not prevent reuse of a partially-initialized connection after a failed STARTTLS attempt. The severity is rated low with a CVSS score of 3.1.

References

Community reviews

Loading reviews…