Back to list

Django Uses Cache Containing Sensitive Information — CVE-2026-6907

GitHub · GitHub · CVE-2026-6907

ID
CVE-2026-6907
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
low
CVSS
2.3
EPSS
0.00033

Summary

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 thanks Ahmad Sadeddin for reporting this…

Product

pip: Django

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories