Vulnerability · Published Nov 3, 2026 · Assigned by DSF
CVE-2026-113593Potential exposure of private data via empty and missing Vary headers
Low 3.1
In plain English
A low-severity security flaw in Django from djangoproject. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | py3-django | 5.2.19-r0 | ALPINE-CVE-2026-113593 |
| Debian:12 | python-django | no fix listed | DEBIAN-CVE-2026-113593 |
| Debian:13 | python-django | no fix listed | DEBIAN-CVE-2026-113593 |
| Debian:14 | python-django | no fix listed | DEBIAN-CVE-2026-113593 |
| Ubuntu:22.04:LTS | python-django | no fix listed | UBUNTU-CVE-2026-113593 |
| Ubuntu:24.04:LTS | python-django | no fix listed | UBUNTU-CVE-2026-113593 |
| Ubuntu:26.04:LTS | python-django | no fix listed | UBUNTU-CVE-2026-113593 |
| Ubuntu:26.10 | python-django | no fix listed | UBUNTU-CVE-2026-113593 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | Django | 6.1 – before 6.1.36.0 – before 6.0.105.2 – before 5.2.19 |
Weakness: CWE-524 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
References
- Django security archive vendor-advisory
- Django releases announcements mailing-list
- https://github.com/django/django/commit/c0b7e5e4e4546e8ddc58262f1945938bb9d9ac2d patch
- https://github.com/django/django/commit/55e2e009b4f3996e5c55af7b22a8c41eb826e892 patch
- https://github.com/django/django/commit/2006a2b068766bf332f1afcc32b7614d8e5759a2 patch
- https://github.com/django/django/commit/9007fecd3633cfd90b093ebe106af564347c8aee patch
- Django security releases issued: 6.1.3, 6.0.10, and 5.2.19 vendor-advisory