A AegiFlow
LOWCVSS 2.3EPSS 0.3%

CVE-2026-8404

CVE-2026-8404 updated by NVD

Published
2026-06-03
Modified
2026-08-07
EPSS percentile
21%
Sources
github-advisory, nvd

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPIdjango5.2.15, 6.0.6

Remediation: Upgrade to 5.2.15 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.