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-48588: CWE-524: Use of Cache Containing Sensitive Information in djangoproject Django

0
Medium
VulnerabilityCVE-2026-48588cvecve-2026-48588cwe-524
Published: 07/07/2026 (07/07/2026, 14:09:32 UTC)
Source: CVE Database V5
Vendor/Project: djangoproject
Product: Django

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.

CVSS v3.1

Score 4.2medium

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

Affected software

django
pkg:pypi/django
Affected versions
>=6.0 <6.0.7>=5.2 <5.2.16

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: 07/07/2026, 15:13:28 UTC

Technical Analysis

This vulnerability arises from Django's caching system, specifically in UpdateCacheMiddleware and the cache_page() decorator, which cache responses that vary based on cookies. If an incoming request includes unrelated cookies, the cache may serve private data intended for other users, allowing remote attackers to access sensitive information from the shared cache. The issue affects Django 6.0 versions before 6.0.7 and 5.2 versions before 5.2.16. Unsupported earlier versions such as 5.0.x, 4.1.x, and 3.2.x were not evaluated but could potentially be vulnerable. The vulnerability is tracked as CWE-524 (Use of Cache Containing Sensitive Information).

Potential Impact

The vulnerability allows remote attackers to read sensitive private data from the shared cache due to improper handling of cached responses that vary on cookies. This can lead to unauthorized disclosure of information. The CVSS score of 4.2 reflects a medium impact with low confidentiality impact, no integrity or availability impact, and requires high attack complexity and user interaction.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official remediation level or patch links are provided, users should monitor djangoproject advisories for updates. Until a fix is available, consider disabling or carefully configuring caching mechanisms that vary on cookies to avoid caching sensitive data across users.

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-05-21T20:50:32.466Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4d1440c9d9e3dbe35d5c79

Added to database: 07/07/2026, 14:59:12 UTC

Last enriched: 07/07/2026, 15:13:28 UTC

Last updated: 07/07/2026, 15:58:56 UTC

Views: 7

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