Vulnerability in Djangoproject Django

CVE-2026-6907

An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14. `django.middleware.cache.UpdateCacheMiddleware` erroneously caches requests where the `Vary` header contained an asterisk (`'*'`). This can lead to private data being stored and served. 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 Ahmad Sadeddin for reporting this issue.

EPSS: 0.004 (28.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-6907?
CVE-2026-6907 is a medium-severity vulnerability in Djangoproject Django, classified under Use of Cache Containing Sensitive Information. CVSS score: 4.3/10. Published 2026-05-05.
How severe is CVE-2026-6907?
Medium severity. CVSS v3 base score is 4.3 out of 10.