{"id":"CVE-2026-48588","published":"2026-07-07T14:09:32Z","modified":"2026-07-07T14:59:53Z","title":"Potential exposure of private data via cached Set-Cookie response","vendor":"djangoproject","product":"Django","tier":"tail","description":{"text":"An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16.\n`UpdateCacheMiddleware` and the `cache_page()` decorator cache responses that vary on cookies when the incoming request carries unrelated cookies, which allows remote attackers to read private data from the shared cache.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Chris Whyland for reporting this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00429,"percentile":0.37978,"provenance":"source"},"cwes":[{"id":"CWE-524","name":"Use of Cache Containing Sensitive Information"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["vendor-advisory"]},{"url":"https://groups.google.com/g/django-announce","tags":["mailing-list"]},{"url":"https://www.djangoproject.com/weblog/2026/jul/07/security-releases/","tags":["vendor-advisory"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":7.6},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"djangoproject","affectedVersions":[{"vendor":"djangoproject","product":"Django","versions":[">= 6.0, < 6.0.7",">= 5.2, < 5.2.16"]}],"fixedVersions":[{"vendor":"djangoproject","product":"Django","versions":["6.0.7","5.2.16"]}],"capec":[{"id":"CAPEC-204","name":"Lifting Sensitive Data Embedded in Cache"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-07T14:59:46.664212Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"django","vulnerableRanges":["<5.2.16",">=6.0.0, <6.0.7",">=5.2, <5.2.16",">=6.0, <6.0.7"],"patched":["5.2.16","6.0.7"],"from":["GHSA-3h9f-r86x-qvjx","PYSEC-2026-2090"],"provenance":"source"}],"summary":{"text":"The flaw is in Django's caching layer, specifically in UpdateCacheMiddleware and the cache_page() decorator, affecting Django 6.0 before 6.0.7 and 5.2 before 5.2.16, with earlier unsupported series not evaluated and possibly also affected. A remote attacker can read private data from the shared cache when a request carrying unrelated cookies causes responses that vary on cookies to be cached, and no authentication or user interaction is indicated, though the attack complexity is high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:55Z"},"euvd":{"id":"EUVD-2026-42043","exploited":false,"provenance":"source"}}