# CVE-2026-6873: Signed cookie salt namespace collision in django.http.HttpRequest.get\_signed\_cookie

- Priority: **Routine**
- Reason: Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-03 · Modified: 2026-06-03
- Aliases: GHSA-h7pc-vwp9-298g, BIT-django-2026-6873, PYSEC-2026-199, UBUNTU-CVE-2026-6873, DEBIAN-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, ALPINE-CVE-2026-6873
- Record: https://cvemate.com/vulnerability/CVE-2026-6873 · JSON: https://cvemate.com/vulnerability/CVE-2026-6873/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.245%, percentile 16.803%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine py3-django (Alpine Linux): \< 5.2.15-r0
- chainguard authentik-2025.12 (Chainguard): All versions (No fix recorded)
- chainguard authentik-fips-2025.12 (Chainguard): All versions (No fix recorded)
- chainguard awx (Chainguard): All versions (No fix recorded)
- chainguard openstack-horizon-2025.1 (Chainguard): All versions (No fix recorded)
- chainguard openstack-horizon-2025.1-fips (Chainguard): All versions (No fix recorded)
- chainguard openstack-horizon-2025.2 (Chainguard): All versions (No fix recorded)
- chainguard openstack-horizon-2025.2-fips (Chainguard): All versions (No fix recorded)
- chainguard openstack-horizon-2026.1 (Chainguard): \< 25.7.3\_git20260806-r1
- chainguard openstack-horizon-2026.1-fips (Chainguard): \< 25.7.3\_git20260806-r1
- debian python-django (Debian): All versions (No fix recorded) \| \< 3:5.2.15-1
- ubuntu python-django (Ubuntu): All versions (No fix recorded)
- djangoproject django: ≥ 5.2, \< 5.2.15 \| ≥ 6.0, \< 6.0.6
- PyPI django (PyPI): \< 5.2.15 \| ≥ 6.0.0, \< 6.0.6 \| ≥ 6.0, \< 6.0.6

## References

- <https://docs.djangoproject.com/en/dev/releases/security/>
- <https://groups.google.com/g/django-announce>
- <https://www.djangoproject.com/weblog/2026/jun/03/security-releases/>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-6873>
- <https://github.com/django/django/commit/594360cbf58be7f56eb6da96d58644297c99ef85>
- <https://github.com/django/django/commit/70d36515b9cc71700105a14b275583070d48b689>
- <https://github.com/django/django/commit/c807d9c398022d23cb27518fa6ecaf343efb30cf>
- <https://docs.djangoproject.com/en/dev/releases/security>
- <https://github.com/django/django>
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-199.yaml>
- <https://www.djangoproject.com/weblog/2026/jun/03/security-releases>
- <https://github.com/advisories/GHSA-h7pc-vwp9-298g>
- <https://ubuntu.com/security/CVE-2026-6873>
- <https://www.cve.org/CVERecord?id=CVE-2026-6873>
- <https://security-tracker.debian.org/tracker/CVE-2026-6873>
- <https://github.com/django/django/>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6873.json>
- <https://pypi.org/project/Django/>
- <https://security.alpinelinux.org/vuln/CVE-2026-6873>

---

Data as of 2026-12-05T04:36:38.021Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
