Skip to main content
VulnerabilityPublished

CVE-2026-6873: djangoproject Django · Improper Verification of Cryptographic Signature

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, 11:52 UTC

CVSS 3.1 base score
3.1Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 15% 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:L/UI:N/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 30 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

Avoid relying on the affected versions (=6.0, =5.2) for sensitive cookie signing until a fix is released. No other specific mitigations are indicated by the vendor advisory.

Description

CVE-2026-6873 is a low-severity vulnerability in Django versions 6.0 and 5.2 where the get_signed_cookie function uses a non-injective salt derivation method. This flaw allows an attacker to reuse a signed cookie in a different context by exploiting distinct (name, salt) pairs that produce the same concatenation. The issue affects Django 6.0 before 6.0.6 and 5.2 before 5.2.15, with earlier unsupported versions possibly also affected.

References

Community reviews

Loading reviews…