{"cve":"CVE-2026-6873","nvd":{"published":"2026-06-03T14:16:46.483","modified":"2026-07-21T19:10:00.107","status":"Analyzed","description":"An issue was discovered in Django 6.0 before 6.0.6 and 5.2 before 5.2.15.\n`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.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Peng Zhou for reporting this issue.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":2.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3},"cwes":["CWE-347"],"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/"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T22:37:48.043517290+00:00"},"epss":{"cve":"CVE-2026-6873","score":0.00245,"percentile":0.15795,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-h7pc-vwp9-298g","url":"https://osv.dev/vulnerability/GHSA-h7pc-vwp9-298g","summary":"Django: signed cookies are vulnerable to salt namespace collisions","modified":"2026-09-10T03:50:49.784603324Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<5.2.15"],"fixed":["5.2.15"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=6.0.0 <6.0.6"],"fixed":["6.0.6"]}]},{"id":"PYSEC-2026-199","url":"https://osv.dev/vulnerability/PYSEC-2026-199","summary":"","modified":"2026-08-10T11:00:08.352389982Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.2 <5.2.15",">=6.0 <6.0.6"],"fixed":["5.2.15","6.0.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}