Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3902: CWE-290: Authentication Bypass by Spoofing in djangoproject Django

0
High
VulnerabilityCVE-2026-3902cvecve-2026-3902cwe-290
Published: Tue Apr 07 2026 (04/07/2026, 14:22:07 UTC)
Source: CVE Database V5
Vendor/Project: djangoproject
Product: Django

Description

An issue was discovered in 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30. `ASGIRequest` allows a remote attacker to spoof headers by exploiting an ambiguous mapping of two header variants (with hyphens or with underscores) to a single version with underscores. 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 Tarek Nakkouch for reporting this issue.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/07/2026, 15:17:51 UTC

Technical Analysis

This vulnerability involves the ASGIRequest component of Django, where two variants of HTTP headers—those containing hyphens and those with underscores—are ambiguously mapped to a single header name with underscores. This ambiguity can be exploited by a remote attacker to spoof headers, potentially bypassing authentication mechanisms. Affected versions include Django 6.0 prior to 6.0.4, 5.2 prior to 5.2.13, and 4.2 prior to 4.2.30. Unsupported earlier versions such as 5.0.x, 4.1.x, and 3.2.x were not evaluated but may also be vulnerable. The issue was reported by Tarek Nakkouch. There is no vendor advisory or patch link provided at this time.

Potential Impact

The vulnerability allows remote attackers to spoof HTTP headers due to ambiguous header mapping, which can lead to authentication bypass. This could enable unauthorized access depending on how the application relies on header values for authentication or authorization decisions. No known exploits are reported in the wild as of the publication date.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should monitor official Django project communications for updates and apply any forthcoming patches promptly. Until a fix is available, carefully review and validate header handling in applications using affected Django versions to mitigate spoofing risks.

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-03-10T18:33:26.472Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69d51c3eaaed68159a2c1625

Added to database: 4/7/2026, 3:01:18 PM

Last enriched: 4/7/2026, 3:17:51 PM

Last updated: 4/8/2026, 12:46:57 AM

Views: 2

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