CVE-2026-48588
Potential exposure of private data via cached Set-Cookie response
Description
An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. `UpdateCacheMiddleware` and the `cache_page()` decorator cache responses that vary on cookies when the incoming request carries unrelated cookies, which allows remote attackers to read private data from the shared cache. 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 Chris Whyland for reporting this issue.
INFO
Published Date :
July 7, 2026, 3:16 p.m.
Last Modified :
July 9, 2026, 1:01 p.m.
Remotely Exploit :
Yes !
Source :
6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | LOW | 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | LOW | 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 |
Solution
- Update Django to version 6.0.7 or later.
- Update Django to version 5.2.16 or later.
- Apply relevant security patches for older Django versions.
Public PoC/Exploit Available at Github
CVE-2026-48588 has a 2 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-48588.
| URL | Resource |
|---|---|
| https://docs.djangoproject.com/en/dev/releases/security/ | Patch Vendor Advisory |
| https://groups.google.com/g/django-announce | Release Notes |
| https://www.djangoproject.com/weblog/2026/jul/07/security-releases/ | Vendor Advisory Patch |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-48588 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-48588
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
an agent that autonomously pulls a Python project's dependencies, checks each one against real vulnerability data (OSV.dev), pulls the actual exploit-likelihood score for each CVE (EPSS), checks whether the vulnerable package is actually imported anywhere in the codebase, and combines all three into one ranked risk score.
Python
A secure Django + MySQL management system for coaching classes — student records, fixed-fee payment tracking with automated reminders, an interactive classroom seat map, and a custom staff admin portal. Built with Bootstrap 5 for a fully responsive UI.
Batchfile Python CSS HTML Procfile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-48588 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-48588 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 09, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Added CPE Configuration OR *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 5.2 up to (excluding) 5.2.16 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 6.0 up to (excluding) 6.0.7 Added Reference Type Django Software Foundation: https://docs.djangoproject.com/en/dev/releases/security/ Types: Patch, Vendor Advisory Added Reference Type Django Software Foundation: https://groups.google.com/g/django-announce Types: Release Notes Added Reference Type Django Software Foundation: https://www.djangoproject.com/weblog/2026/jul/07/security-releases/ Types: Patch, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 07, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-48588', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-07T14:59:46.664212Z'} -
New CVE Received by 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
Jul. 07, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://github.com/django/django/', 'vendor': 'djangoproject', 'product': 'Django', 'versions': [{'status': 'affected', 'version': '6.0', 'lessThan': '6.0.7', 'versionType': 'python'}, {'status': 'unaffected', 'version': '6.0.7', 'versionType': 'python'}, {'status': 'affected', 'version': '5.2', 'lessThan': '5.2.16', 'versionType': 'python'}, {'status': 'unaffected', 'version': '5.2.16', 'versionType': 'python'}], 'packageName': 'django', 'collectionURL': 'https://pypi.org/project/Django/', 'defaultStatus': 'unaffected'}] Added Description An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. `UpdateCacheMiddleware` and the `cache_page()` decorator cache responses that vary on cookies when the incoming request carries unrelated cookies, which allows remote attackers to read private data from the shared cache. 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 Chris Whyland for reporting this issue. Added CVSS V4.0 AV:N/AC:L/AT:P/PR:N/UI:P/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 Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N Added CWE CWE-524 Added Reference https://docs.djangoproject.com/en/dev/releases/security/ Added Reference https://groups.google.com/g/django-announce Added Reference https://www.djangoproject.com/weblog/2026/jul/07/security-releases/