{"cve":"CVE-2026-35193","nvd":{"published":"2026-06-03T14:16:41.247","modified":"2026-07-21T19:10:00.107","status":"Analyzed","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":2.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","score":3.1},"cwes":["CWE-524"],"references":["https://docs.djangoproject.com/en/dev/releases/security/","https://groups.google.com/g/django-announce","https://www.djangoproject.com/weblog/2026/jun/03/security-releases/"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-19T22:37:48.043517290+00:00"},"epss":{"cve":"CVE-2026-35193","score":0.00372,"percentile":0.31165,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-qpc8-7fxc-cm4p","url":"https://osv.dev/vulnerability/GHSA-qpc8-7fxc-cm4p","summary":"Django: UpdateCacheMiddleware may disclose private cached responses by omitting Authorization from Vary","modified":"2026-08-07T20:11:00.278926038Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.2.0 <5.2.15"],"fixed":["5.2.15"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=6.0.0 <6.0.6"],"fixed":["6.0.6"]}]},{"id":"PYSEC-2026-197","url":"https://osv.dev/vulnerability/PYSEC-2026-197","summary":"","modified":"2026-08-10T11:00:08.312914757Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.2 <5.2.15",">=6.0 <6.0.6"],"fixed":["5.2.15","6.0.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}