Feed
4.3MEDIUM

CVE-2026-6873Django: signed cookies are vulnerable to salt namespace collisions

A medium-severity vulnerability reachable over the network, needing low privileges and no user interaction. EPSS estimates a 0.3% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
0.3%
percentile 13%
Priority
17/100 low
how it is computed
Fix
Named by a source
CVE published 3 Jun 2026

Reference

None of the "Needs attention" rules apply right now.

EPSS 0.3% (+0) · Network attack vector (+10) · No user interaction (+5)

Immediate actions

Who should check

  • django (PyPI) pkg:pypi/django

    • Affected< 5.2.15Fixed in5.2.15OSV (GHSA-h7pc-vwp9-298g)
    • Affected>= 6.0.0, < 6.0.6Fixed in6.0.6OSV (GHSA-h7pc-vwp9-298g)
    • Affected>= 5.2, < 5.2.15Fixed in5.2.15OSV (PYSEC-2026-199)
    • Affected>= 6.0, < 6.0.6Fixed in6.0.6OSV (PYSEC-2026-199)
  • djangoproject django product:djangoproject/django

    • Affected>= 6.0, < 6.0.6Affected range ends before6.0.6as published by CNA (CVE List)
    • Affected>= 5.2, < 5.2.15Affected range ends before5.2.15as published by CNA (CVE List)
    • Affected>= 5.2, < 5.2.15Affected range ends before5.2.15as published by CPE data (via the NVD API)
    • Affected>= 6.0, < 6.0.6Affected range ends before6.0.6as published by CPE data (via the NVD API)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
4.3 MEDIUM (version 3.1)
Score from
NVD
Attack vector
network
Attack complexity
low
Privileges required
low
User interaction
none
Weakness
CWE-347
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
no
Assigned by
6a34fbeb-21d4-45e7-8e0a-62b95bc12c92

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)An issue was discovered in Django 6.0 before 6.0.6 and 5.2 before 5.2.15. `django.http.HttpRequest.get_signed_cookie` in Django uses a non-injective salt derivation (concatenating the cookie name and salt argument), which allows a remote attacker to use a cookie in a context different from the one where it was signed, via distinct `(name, salt)` pairs that produce the same concatenation. 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 Peng Zhou for reporting this issue.

Update history

  • 3 Jun 2026Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 7 min ago · osv 7 min ago · nvd 68 min ago · epss 7 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-django-2026-6873, GHSA-h7pc-vwp9-298g, PYSEC-2026-199