CVE-2026-35193Django: UpdateCacheMiddleware may disclose private cached responses by omitting Authorization from Vary
A low-severity vulnerability reachable over the network, needing no privileges and user interaction. EPSS estimates a 0.4% chance of exploitation in the next 30 days. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- 0.4%
- percentile 29%
- Fix
- Named by a source
- CVE published 3 Jun 2026
Reference
None of the "Needs attention" rules apply right now.
EPSS 0.4% (+0) · Network attack vector (+10) · No privileges required (+5)
Immediate actions
- django (PyPI): upgrade to 5.2.15 / 6.0.6 or later on your release line.
- Patch: https://docs.djangoproject.com/en/dev/releases/security/
- Patch: https://www.djangoproject.com/weblog/2026/jun/03/security-releases/
- Commit / pull request: https://github.com/django/django/commit/050a3dc276f9142067260e990e4d8d42d5e32863
- Commit / pull request: https://github.com/django/django/commit/664652f1a2dd80d8a4cd491b4313cad915ae6669
- Commit / pull request: https://github.com/django/django/commit/a2faa8e895926ac5d63f72879b5ccf671b5b4ba9
- Advisory: https://groups.google.com/g/django-announce
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-35193
- Advisory: https://github.com/advisories/GHSA-qpc8-7fxc-cm4p
Who should check
django (PyPI) pkg:pypi/django
- Affected>= 5.2.0, < 5.2.15Fixed in5.2.15OSV (GHSA-qpc8-7fxc-cm4p)
- Affected>= 6.0.0, < 6.0.6Fixed in6.0.6OSV (GHSA-qpc8-7fxc-cm4p)
- Affected>= 5.2, < 5.2.15Fixed in5.2.15OSV (PYSEC-2026-197)
- Affected>= 6.0, < 6.0.6Fixed in6.0.6OSV (PYSEC-2026-197)
djangoproject django product:djangoproject/django
- Affected>= 6.0, < 6.0.6Affected range ends before6.0.6as published by CNA (CVE List)
- Affected>= 5.2, < 5.2.15Affected range ends before5.2.15as published by CNA (CVE List)
- Affected>= 5.2, < 5.2.15Affected range ends before5.2.15as published by CPE data (via the NVD API)
- Affected>= 6.0, < 6.0.6Affected range ends before6.0.6as published by CPE data (via the NVD API)
Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.
Confirmed facts
- CVSS
- 3.1 LOW (version 3.1)
- Score from
- CNA (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92)
- Attack vector
- network
- Attack complexity
- high
- Privileges required
- none
- User interaction
- required
- Weakness
- CWE-524
- Exploitation (CISA SSVC)
- none
- Automatable (CISA SSVC)
- no
- Assigned by
- 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 3 Jun 2026Published
References
- patchhttps://docs.djangoproject.com/en/dev/releases/security/
- advisoryhttps://groups.google.com/g/django-announce
- patchhttps://www.djangoproject.com/weblog/2026/jun/03/security-releases/
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-35193
- commit / pull requesthttps://github.com/django/django/commit/050a3dc276f9142067260e990e4d8d42d5e32863
- commit / pull requesthttps://github.com/django/django/commit/664652f1a2dd80d8a4cd491b4313cad915ae6669
- commit / pull requesthttps://github.com/django/django/commit/a2faa8e895926ac5d63f72879b5ccf671b5b4ba9
- otherhttps://docs.djangoproject.com/en/dev/releases/security
- otherhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-197.yaml
- otherhttps://www.djangoproject.com/weblog/2026/jun/03/security-releases
- advisoryhttps://github.com/advisories/GHSA-qpc8-7fxc-cm4p
Sources
- EPSS by FIRST.org, Free to use, attribution requested. Scores generated by Empirical Security.
- CVE-2026-35193 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-qpc8-7fxc-cm4p (GitHub Advisory Database), CC BY 4.0.
- PYSEC-2026-197 (PyPA Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 28 min ago · osv 28 min ago · nvd 88 min ago · epss 27 min ago · JSON · ask via MCP: explain_vulnerability
Also known as BIT-django-2026-35193, GHSA-qpc8-7fxc-cm4p, PYSEC-2026-197