Back to CVE records
Low 3.1Published Jun 3, 2026

CVE-2026-8404Potential exposure of private data via case-sensitive Cache-Control directives in UpdateCacheMiddleware

Updated under an hour ago ()

Does this affect you?

It affects djangoproject Django. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6. `django.middleware.cache.UpdateCacheMiddleware` in Django does not match `Cache-Control` response directives case-insensitively, which allows remote attackers to read responses that were incorrectly cached because their `Cache-Control` directives used uppercase or mixed-case values. 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 Ahmed Badawe for reporting this issue.

CVSS
3.1 LOW (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-178
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
DSF
NVD analysis
Analyzed
Record last updated
Jun 3, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
djangoproject Django
djangoproject:django (from the name)
from 6.0 before 6.0.6; 6.0.6 not affected; from 5.2 before 5.2.15; 5.2.15 not affected
CNA record
djangoproject django
djangoproject:django
from 5.2 before 5.2.15; from 6.0 before 6.0.6
NVD

References

  • vendor-advisory, patch
  • mailing-list, release-notes
  • vendor-advisory, patch

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.