CVE-2026-6873: CWE-347: Improper Verification of Cryptographic Signature in djangoproject Django
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. No official patch or remediation level has been confirmed yet.
AI Analysis
Technical Summary
The vulnerability in Django's django.http.HttpRequest.get_signed_cookie arises from the use of a non-injective salt derivation approach, which concatenates the cookie name and salt argument. This design flaw enables a remote attacker to use a signed cookie in a context other than the one it was originally signed for by finding distinct (name, salt) pairs that yield the same concatenated value. The affected versions explicitly include Django 6.0 and 5.2, prior to versions 6.0.6 and 5.2.15 respectively. Earlier unsupported Django series such as 5.0.x, 4.1.x, and 3.2.x have not been evaluated but may also be vulnerable. The vulnerability is tracked as CWE-347 (Improper Verification of Cryptographic Signature).
Potential Impact
The impact is limited to confidentiality as the vulnerability allows an attacker to reuse a signed cookie in an unintended context, potentially bypassing intended cookie validation boundaries. There is no indication of integrity or availability impact. The CVSS score of 3.1 reflects a low severity with network attack vector, high attack complexity, low privileges required, and no user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or remediation level is provided, users should monitor djangoproject advisories for updates. 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.
CVE-2026-6873: CWE-347: Improper Verification of Cryptographic Signature in djangoproject Django
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. No official patch or remediation level has been confirmed yet.
CVSS v3.1
Score 3.1low
Affected software
djangoproject
Django
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Django's django.http.HttpRequest.get_signed_cookie arises from the use of a non-injective salt derivation approach, which concatenates the cookie name and salt argument. This design flaw enables a remote attacker to use a signed cookie in a context other than the one it was originally signed for by finding distinct (name, salt) pairs that yield the same concatenated value. The affected versions explicitly include Django 6.0 and 5.2, prior to versions 6.0.6 and 5.2.15 respectively. Earlier unsupported Django series such as 5.0.x, 4.1.x, and 3.2.x have not been evaluated but may also be vulnerable. The vulnerability is tracked as CWE-347 (Improper Verification of Cryptographic Signature).
Potential Impact
The impact is limited to confidentiality as the vulnerability allows an attacker to reuse a signed cookie in an unintended context, potentially bypassing intended cookie validation boundaries. There is no indication of integrity or availability impact. The CVSS score of 3.1 reflects a low severity with network attack vector, high attack complexity, low privileges required, and no user interaction needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or remediation level is provided, users should monitor djangoproject advisories for updates. 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.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- DSF
- Date Reserved
- 2026-04-22T18:12:39.603Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a2037c7e29bf47b50c14edc
Added to database: 06/03/2026, 14:18:47 UTC
Last enriched: 08/08/2026, 15:13:27 UTC
Last updated: 09/14/2026, 22:01:36 UTC
Views: 214
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.