# CVE-2026-35193: Potential exposure of private data via missing Vary: Authorization in UpdateCacheMiddleware

- Severity: Low 2.3 (CVSS:4.0, scored by DSF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-06-03T13:16:38.456Z
- Modified: 2026-09-08T08:46:38.033Z
- Also known as: GHSA-qpc8-7fxc-cm4p, BIT-DJANGO-2026-35193, PYSEC-2026-197
- Weaknesses: CWE-524
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: DSF

## 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.

(As written by CVE List.)

## Affected

- django: from 6.0 before 6.0.6; from 5.2 before 5.2.15 (not affected: 6.0.6; 5.2.15)
- django (PyPI): from 5.2.0 before 5.2.15; from 6.0.0 before 6.0.6; from 5.2 before 5.2.15; from 6.0 before 6.0.6
- djangoproject django: from 5.2 before 5.2.15; from 6.0 before 6.0.6
- django (Bitnami): from 5.2.0 before 5.2.15; from 6.0.0 before 6.0.6

## Every score

- DSF: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- DSF: CVSS:4.0 2.3 Low `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`
- GitHub: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Low `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`
- PyPA Advisory Database: CVSS:4.0 `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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`
- Bitnami Vulnerability Database: rating Low

## References

- <https://docs.djangoproject.com/en/dev/releases/security/> (advisory, fix, patch, vendor-advisory)
- <https://groups.google.com/g/django-announce> (advisory, article, mailing-list, release-notes, web)
- <https://www.djangoproject.com/weblog/2026/jun/03/security-releases/> (advisory, fix, patch, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35193> (advisory, web)
- <https://github.com/django/django/commit/050a3dc276f9142067260e990e4d8d42d5e32863> (web)
- <https://github.com/django/django/commit/664652f1a2dd80d8a4cd491b4313cad915ae6669> (web)
- <https://github.com/django/django/commit/a2faa8e895926ac5d63f72879b5ccf671b5b4ba9> (web)
- <https://docs.djangoproject.com/en/dev/releases/security> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-197.yaml> (web)
- <https://www.djangoproject.com/weblog/2026/jun/03/security-releases> (web)
- <https://github.com/advisories/GHSA-qpc8-7fxc-cm4p> (advisory)

## Sources

- CVE List: [CVE-2026-35193](https://www.cve.org/CVERecord?id=CVE-2026-35193), CVE Terms of Use, modified 2026-06-03
- GitHub Advisory Database: [GHSA-qpc8-7fxc-cm4p](https://github.com/advisories/GHSA-qpc8-7fxc-cm4p), CC-BY-4.0, modified 2026-08-07
- NVD: [CVE-2026-35193](https://nvd.nist.gov/vuln/detail/CVE-2026-35193), Public domain, modified 2026-07-21
- PyPA Advisory Database: [PYSEC-2026-197](https://osv.dev/vulnerability/PYSEC-2026-197), CC-BY-4.0, modified 2026-08-10
- Bitnami Vulnerability Database: [BIT-DJANGO-2026-35193](https://osv.dev/vulnerability/BIT-DJANGO-2026-35193), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-35193 · Whole record: https://cve.day/CVE-2026-35193.json · Rebuilt by cve.day 2026-11-25T22:59:23.632Z
