A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-6873

CVE-2026-6873: Django Auth Bypass Vulnerability

CVE-2026-6873 is an authentication bypass flaw in Django 6.0 and 5.2 that allows attackers to misuse signed cookies across different contexts. This article covers technical details, affected versions, and remediation.

Published: June 4, 2026

CVE-2026-6873 Overview

CVE-2026-6873 is a cryptographic weakness in the Django web framework affecting django.http.HttpRequest.get_signed_cookie. The function derives its signing salt by concatenating the cookie name and the salt argument without a separator. This non-injective derivation allows distinct (name, salt) pairs to produce identical salt strings. A remote attacker holding a signed cookie can reuse it in a different cookie context where the framework treats the signature as valid. The flaw is tracked under CWE-347: Improper Verification of Cryptographic Signature. Django credits Peng Zhou for reporting the issue.

Critical Impact

A signed cookie issued for one (name, salt) context can be replayed in a different context that shares the same concatenated derivation, undermining the integrity guarantees of get_signed_cookie.

Affected Products

  • Django 6.0 before 6.0.6
  • Django 5.2 before 5.2.15
  • Earlier unsupported series (5.0.x, 4.1.x, 3.2.x) were not evaluated and may also be affected

Discovery Timeline

  • Vulnerability reported to Django by Peng Zhou
  • 2026-06-03 - CVE-2026-6873 published to NVD
  • 2026-06-03 - Django security releases published per the Django Weblog Security Releases
  • 2026-06-03 - Last updated in NVD database

Technical Details for CVE-2026-6873

Vulnerability Analysis

Django's get_signed_cookie method validates cookie integrity using django.core.signing, which mixes a salt value into the HMAC key derivation. The current implementation builds the effective salt by concatenating the cookie name with the caller-supplied salt argument. Because concatenation lacks a delimiter, the mapping from (name, salt) to the effective salt is non-injective.

An attacker who can obtain or influence a signed cookie in one context can present that cookie in a different context whose (name, salt) pair produces the same concatenated string. The signature still validates, so the application accepts the cookie value as authentic in a context the developer did not intend. The impact is bounded by what data developers protect with get_signed_cookie and by the attacker's ability to obtain valid signed values, which is why the issue is rated low severity.

Root Cause

The root cause is an [CWE-347] signature verification weakness driven by non-injective key derivation. Treating name + salt as a unique identifier collapses pairs such as (ab, cd) and (a, bcd) into the same derived salt, so any cookie signed under one pair verifies under the other.

Attack Vector

Exploitation requires network access and an authenticated context where the attacker can obtain a valid signed cookie issued by the target application. The attacker then submits that cookie under a different (name, salt) configuration that yields the same concatenated salt. No user interaction is required beyond normal HTTP traffic. Refer to the Django Security Release Notes for vendor-supplied detail.

Detection Methods for CVE-2026-6873

Indicators of Compromise

  • Application logs showing get_signed_cookie validations succeeding for cookies whose name does not match the original issuance path.
  • Unexpected acceptance of signed cookie values across views or subsystems that use overlapping (name, salt) pairs.
  • Requests carrying signed cookies whose decoded payload is inconsistent with the handler's expected schema.

Detection Strategies

  • Inventory all calls to get_signed_cookie and set_signed_cookie and identify any (name, salt) pairs whose concatenations collide.
  • Add server-side logging that records the cookie name, salt argument, and decoded payload type for each signed-cookie verification.
  • Review middleware and view code for reuse of signed cookies across multiple security contexts.

Monitoring Recommendations

  • Alert on signed cookie verifications that occur outside their originating view or namespace.
  • Track Django version inventory across all deployed services to confirm patched releases are in use.
  • Correlate authentication and session anomalies with cookie-handling code paths to spot cross-context reuse.

How to Mitigate CVE-2026-6873

Immediate Actions Required

  • Upgrade Django to 6.0.6 or 5.2.15, as listed in the Django Weblog Security Releases.
  • Audit applications for get_signed_cookie and set_signed_cookie usages that share overlapping (name, salt) concatenations.
  • For unsupported Django series (5.0.x, 4.1.x, 3.2.x), plan migration to a supported, patched release.

Patch Information

Django has released fixed versions 6.0.6 and 5.2.15. Patch notes and downloads are referenced in the Django Security Release Notes and announced through the Django Announcement Group.

Workarounds

  • Choose name and salt values such that the concatenation name + salt is unique across the application.
  • Use a separator character within the salt argument that cannot appear in cookie names to enforce injectivity until patches are applied.
  • Avoid passing user-controlled values into the salt argument of get_signed_cookie.
bash
# Upgrade Django to a patched release
pip install --upgrade "Django>=6.0.6,<6.1"
# or for the 5.2 LTS line
pip install --upgrade "Django>=5.2.15,<5.3"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechDjango

  • SeverityLOW

  • CVSS Score2.3

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-347
  • Technical References
  • Django Security Release Notes

  • Django Announcement Group

  • Django Weblog Security Releases
  • Related CVEs
  • CVE-2026-6578: DjangoBlog Auth Bypass Vulnerability

  • CVE-2026-6577: DjangoBlog Authentication Bypass Flaw

  • CVE-2026-6609: DjangoBlog Auth Bypass Vulnerability

  • CVE-2026-4277: Django Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English