Vulnerability
CVE-2026-6873
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.
34 advisories report this vulnerability, across 8 ecosystems.
Advisories
-
ALPINE-CVE-2026-6873
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),…
- ALPINE-EDGE-CVE-2026-6873
- CGA-24fx-qhwr-4r35
- CGA-3fjp-vchj-wxr5
- CGA-4wv8-2c6r-3m6m
- CGA-5v36-vwvq-r7gr
- CGA-5wfr-6qxp-qwqj
- CGA-6hp7-crxw-6qc5
- CGA-6r8p-5jcj-vffp
- CGA-6v9f-cm5f-55pp
- CGA-8qpw-x7q4-rmhx
- CGA-fvf8-fx98-jwgw
- CGA-g5qp-pmfj-x4jm
- CGA-jrpr-r658-rq7g
- CGA-q2cq-7r86-x76f
- CGA-qcv8-87qv-f7m4
- CGA-r4c4-p4f7-4wq5
- CGA-rgrv-wrx5-cww5
- CGA-w38c-j7j6-xchf
- CGA-x48h-fj9m-jh6h
-
DEBIAN-CVE-2026-6873
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),…
-
GHSA-h7pc-vwp9-298g
Django: signed cookies are vulnerable to salt namespace collisions
-
OESA-2026-2659
python-django security update
-
OESA-2026-2660
python-django security update
-
OESA-2026-2661
python-django security update
-
OESA-2026-3074
python-django security update
-
PYSEC-2026-199
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),…
-
SUSE-SU-2026:2318-1
Security update for python-Django
-
UBUNTU-CVE-2026-6873
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),…
-
openSUSE-SU-2026:10989-1
python311-Django4-4.2.30-3.1 on GA media
-
openSUSE-SU-2026:11002-1
python311-Django-5.2.15-1.1 on GA media
-
openSUSE-SU-2026:11003-1
python313-Django6-6.0.6-1.1 on GA media
-
openSUSE-SU-2026:11270-1
python313-Django5-5.2.16-1.1 on GA media
-
openSUSE-SU-2026:20937-1
Security update for python-Django