{"id":"CVE-2026-35193","published":"2026-06-03T13:16:38Z","modified":"2026-06-03T15:47:18Z","title":"Potential exposure of private data via missing Vary: Authorization in UpdateCacheMiddleware","vendor":"djangoproject","product":"Django","tier":"tail","description":{"text":"An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6.\n`django.middleware.cache.UpdateCacheMiddleware` in Django does not add `Authorization` to the `Vary` response header for requests bearing that header without `Cache-Control: public`, which allows remote attackers to read private cached responses via unauthenticated requests to the same URL.\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 Shai Berger for reporting this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.1,"severity":"LOW","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.00372,"percentile":0.31954,"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/jun/03/security-releases/","tags":["vendor-advisory"]}],"priority":{"score":8.6,"factors":[{"name":"EPSS percentile","points":6.39},{"name":"CVSS severity","points":2.17}]},"vendorSlug":"djangoproject","affectedVersions":[{"vendor":"djangoproject","product":"Django","versions":[">= 6.0, < 6.0.6",">= 5.2, < 5.2.15"]}],"fixedVersions":[{"vendor":"djangoproject","product":"Django","versions":["6.0.6","5.2.15"]}],"capec":[{"id":"CAPEC-204","name":"Lifting Sensitive Data Embedded in Cache"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-03T15:47:08.153480Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"django","vulnerableRanges":[">=5.2.0, <5.2.15",">=6.0.0, <6.0.6",">=5.2, <5.2.15",">=6.0, <6.0.6"],"patched":["5.2.15","6.0.6"],"from":["GHSA-qpc8-7fxc-cm4p","PYSEC-2026-197"],"provenance":"source"}],"summary":{"text":"Django's UpdateCacheMiddleware (in django.middleware.cache) fails to add the Authorization header to the Vary response header for requests that carry Authorization without Cache-Control: public, affecting Django 5.2 before 5.2.15 and 6.0 before 6.0.6, which can cause private cached responses to be stored. An remote attacker can read those private cached responses by sending an unauthenticated request to the same URL, with the attack requiring user interaction and the attack complexity being high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:13:48Z"},"euvd":{"id":"EUVD-2026-34089","exploited":false,"provenance":"source"}}