CVE
CVE-2026-35193
CNA description
An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6. `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. 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 Shai Berger for reporting this issue.
Affected versions
- django≥ 6.0.0, < 6.0.6Fixed in 6.0.6
- django≥ 5.2.0, < 5.2.15Fixed in 5.2.15
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- docs.djangoproject.com/en/dev/releases/security/ · Patch, Vendor Advisory
- www.djangoproject.com/weblog/2026/jun/03/security-releases/ · Patch, Vendor Advisory
- github.com/advisories/GHSA-qpc8-7fxc-cm4p · Third Party Advisory
- osv.dev/vulnerability/GHSA-qpc8-7fxc-cm4p · Third Party Advisory
- github.com/django/django/commit/050a3dc276f9142067260e990e4d8d42d5e328 · Vendor Advisory
- github.com/django/django/commit/664652f1a2dd80d8a4cd491b4313cad915ae66 · Vendor Advisory
- github.com/django/django/commit/a2faa8e895926ac5d63f72879b5ccf671b5b4b · Vendor Advisory
- docs.djangoproject.com/en/dev/releases/security · Vendor Advisory
- www.djangoproject.com/weblog/2026/jun/03/security-releases · Vendor Advisory
- osv.dev/vulnerability/PYSEC-2026-197 · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.