Use of Cache Containing Sensitive Information Affecting django package, versions [5.2a1, 5.2.19)[6.0a1, 6.0.10)[6.1a1, 6.1.3)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-DJANGO-22200529
  • published4 Nov 2026
  • disclosed3 Nov 2026
  • creditAndrew Gonzalez

Introduced: 3 Nov 2026

NewCVE-2026-113593  (opens in a new tab)
CWE-524  (opens in a new tab)

How to fix?

Upgrade Django to version 5.2.19, 6.0.10, 6.1.3 or higher.

Overview

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Affected versions of this package are vulnerable to Use of Cache Containing Sensitive Information in the _generate_cache_key function in django/utils/cache.py. An attacker can receive another user's cached response by sending a request that omits a header named in the response Vary header, because an absent header and a header present with an empty value are assigned the same cache key. This affects applications using UpdateCacheMiddleware or cache_page() whose cached responses vary on a request header.

CVSS Base Scores

version 4.0
version 3.1