The `django.middleware.cache.UpdateCacheMiddleware` and the `django.views.decorators.cache.cache_page()` decorator generate identical cache keys for requests that omit a header listed in the response’s `Vary` header and requests that include that header with an empty value, potentially allowing remote attackers to access private data cached for another request.
Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected.
Django would like to thank Andrew Gonzalez for reporting this issue.
Analysis and contextual insights are available on OpenCVE Cloud.
No solution or workaround provided in the CVE record.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
No advisories yet.
Tue, 03 Nov 2026 17:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Django Project
Django Project django Djangoproject Djangoproject django |
|
| Vendors & Products |
Django Project
Django Project django Djangoproject Djangoproject django |
Tue, 03 Nov 2026 15:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | An issue was discovered in Django 6.1 before 6.1.3, 6.0 before 6.0.10, and 5.2 before 5.2.19. The `django.middleware.cache.UpdateCacheMiddleware` and the `django.views.decorators.cache.cache_page()` decorator generate identical cache keys for requests that omit a header listed in the response’s `Vary` header and requests that include that header with an empty value, potentially allowing remote attackers to access private data cached for another request. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Andrew Gonzalez for reporting this issue. | |
| Title | Potential exposure of private data via empty and missing Vary headers | |
| Weaknesses | CWE-524 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: DSF
Published:
Updated: 2026-11-03T18:26:21.601Z
Reserved: 2026-10-20T11:47:38.571Z
Link: CVE-2026-113593
No data.
Status : Deferred
Published: 2026-11-03T16:17:19.183
Modified: 2026-11-03T16:17:19.330
Link: CVE-2026-113593
No data.
OpenCVE Enrichment
Updated: 2026-11-03T16:45:14Z
-
CWE-524
Use of Cache Containing Sensitive Information