CVEMETERBack to radar
OFFICIAL RECORD · Python packages

CVE-2026-7666

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 2.3 · low

Potential unencrypted email transmission via STARTTLS in the SMTP backend

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.150% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 2.3 · published 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
Assessment source · checked 2026-11-19T12:02:09.192Z

CVSS 3.1 · 3.1 · published by DSF
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Assessment source · checked 2026-11-19T12:02:09.192Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T12:02:09.192ZCVE Program
epssverified2026-11-19T16:04:54.940ZFIRST EPSS
patchesverified2026-11-19T12:52:01.389ZOSV
affectedverified2026-11-19T12:02:09.192ZCVE Program
lifecycleverified2026-11-19T12:02:09.192ZCVE Program

Affected versions and configuration

djangoproject Django; default status: unaffected: 6.0 to < 6.0.6 [affected; scheme: python]; 6.0.6 [unaffected; scheme: python]; 5.2 to < 5.2.15 [affected; scheme: python]; 5.2.15 [unaffected; scheme: python]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

OSV · osv · full conditions
{
  "id": "GHSA-mm6v-q8q9-pgcf",
  "aliases": [
    "BIT-django-2026-7666",
    "CVE-2026-7666",
    "PYSEC-2026-200"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.2"
            },
            {
              "fixed": "5.2.15"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "5.2",
        "5.2.1",
        "5.2.10",
        "5.2.11",
        "5.2.12",
        "5.2.13",
        "5.2.14",
        "5.2.2",
        "5.2.3",
        "5.2.4",
        "5.2.5",
        "5.2.6",
        "5.2.7",
        "5.2.8",
        "5.2.9"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-mm6v-q8q9-pgcf/GHSA-mm6v-q8q9-pgcf.json"
      }
    },
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "6.0"
            },
            {
              "fixed": "6.0.6"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "6.0",
        "6.0.1",
        "6.0.2",
        "6.0.3",
        "6.0.4",
        "6.0.5"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-mm6v-q8q9-pgcf/GHSA-mm6v-q8q9-pgcf.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N"
    },
    {
      "type": "CVSS_V4",
      "score": "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"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-7666",
      "type": "ADVISORY"
    },
    {
      "url": "https://docs.djangoproject.com/en/dev/releases/security",
      "type": "WEB"
    },
    {
      "url": "https://github.com/django/django",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-200.yaml",
      "type": "WEB"
    },
    {
      "url": "https://groups.google.com/g/django-announce",
      "type": "WEB"
    },
    {
      "url": "https://www.djangoproject.com/weblog/2026/jun/03/security-releases",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-319"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "nvd_published_at": "2026-06-03T14:16:47Z",
    "github_reviewed_at": "2026-07-13T17:26:39Z"
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "PYSEC-2026-200",
  "aliases": [
    "BIT-django-2026-7666",
    "CVE-2026-7666",
    "GHSA-mm6v-q8q9-pgcf"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "5.2"
            },
            {
              "fixed": "5.2.15"
            },
            {
              "introduced": "6.0"
            },
            {
              "fixed": "6.0.6"
            }
          ]
        }
      ],
      "package": {
        "name": "django",
        "purl": "pkg:pypi/django",
        "ecosystem": "PyPI"
      },
      "versions": [
        "5.2",
        "5.2.1",
        "5.2.10",
        "5.2.11",
        "5.2.12",
        "5.2.13",
        "5.2.14",
        "5.2.2",
        "5.2.3",
        "5.2.4",
        "5.2.5",
        "5.2.6",
        "5.2.7",
        "5.2.8",
        "5.2.9",
        "6.0",
        "6.0.1",
        "6.0.2",
        "6.0.3",
        "6.0.4",
        "6.0.5"
      ],
      "database_specific": {
        "source": "https://github.com/pypa/advisory-database/blob/main/vulns/django/PYSEC-2026-200.yaml"
      },
      "ecosystem_specific": {}
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "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"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://groups.google.com/g/django-announce",
      "type": "ADVISORY"
    },
    {
      "url": "https://docs.djangoproject.com/en/dev/releases/security/",
      "type": "FIX"
    },
    {
      "url": "https://www.djangoproject.com/weblog/2026/jun/03/security-releases/",
      "type": "FIX"
    },
    {
      "url": "https://github.com/advisories/GHSA-mm6v-q8q9-pgcf",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "repo": "https://github.com/django/django/",
      "vendor": "djangoproject",
      "product": "Django",
      "versions": [
        {
          "status": "affected",
          "version": "6.0",
          "lessThan": "6.0.6",
          "versionType": "python"
        },
        {
          "status": "unaffected",
          "version": "6.0.6",
          "versionType": "python"
        },
        {
          "status": "affected",
          "version": "5.2",
          "lessThan": "5.2.15",
          "versionType": "python"
        },
        {
          "status": "unaffected",
          "version": "5.2.15",
          "versionType": "python"
        }
      ],
      "packageName": "django",
      "collectionURL": "https://pypi.org/project/Django/",
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-7666",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-06-03T15:43:26.714914Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-06-03T15:43:34.012Z"
      }
    }
  ]
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryPyPI / packagedjangoNot a distribution channel5.2.15Official record
ecosystem-boundaryPyPI / packagedjangoNot a distribution channel6.0.6Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history