Use of Cache Containing Sensitive Information Affecting django package, versions [5.2a1,5.2.14)[6.0a1,6.0.5)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (28th 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-16425745
  • published6 May 2026
  • disclosed5 May 2026
  • creditAhmad Sadeddin

Introduced: 5 May 2026

CVE-2026-6907  (opens in a new tab)
CWE-524  (opens in a new tab)

How to fix?

Upgrade Django to version 5.2.14, 6.0.5 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 UpdateCacheMiddleware middleware. An attacker can access private data belonging to other users by exploiting incorrect handling of the Vary: * header, which causes improper caching of responses.

CVSS Base Scores

version 4.0
version 3.1