Skip to main content
EPSS 0.2%top 84%

CVE-2026-6873: CWE-347: Improper Verification of Cryptographic Signature in djangoproject Django

0
Low
Published: 06/03/2026 (06/03/2026, 15:30:43 UTC)
Source: CVE Database V5
Vendor/Project: djangoproject
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected software

djangoproject

Django

Affected versions
>=6.0 <6.0.6>=5.2 <5.2.15
django
pkg:pypi/django
Affected versions
=5.2=6.0
django
pkg:pypi/django
Affected versions
>=6.0 <6.0.6>=5.2 <5.2.15

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 15:13:27 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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, 10:01:33 UTC

Views: 213

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses