Improper Handling of Case Sensitivity Affecting django package, versions [,5.2.15)[6.0a1,6.0.6)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (20th 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-17151726
  • published4 Jun 2026
  • disclosed3 Jun 2026
  • creditAhmed Badawe

Introduced: 3 Jun 2026

CVE-2026-8404  (opens in a new tab)
CWE-178  (opens in a new tab)

How to fix?

Upgrade django to version 5.2.15, 6.0.6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Case Sensitivity due to improper handling of Cache-Control directives in UpdateCacheMiddleware. An attacker can gain unauthorized access to sensitive response data by sending requests with uppercase or mixed-case Cache-Control values, causing private data to be cached and subsequently served to other users.

CVSS Base Scores

version 4.0
version 3.1