CVE-2026-113593

Potential exposure of private data via empty and missing Vary headers

Published Nov 3, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability arises from the Django cache middleware and page decorator generating 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. This key collision allows a remote attacker to retrieve data that has been cached for a different request, potentially exposing private information stored in the cache. The weakness is an instance of information disclosure (CWE-524).

Affected Systems

Django releases 6.1 prior to 6.1.3, 6.0 prior to 6.0.10, and 5.2 prior to 5.2.19 are affected. Unsupported earlier series such as 5.1.x, 5.0.x, and 4.2.x may also be vulnerable.

Risk and Exploitability

The CVSS score is 2.3, indicating low severity, and the EPSS score is currently unavailable, while the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is through crafted HTTP requests sent to a server running one of the affected Django versions that employ the cache middleware or cache_page decorator. By sending requests that omit or empty a Vary header, an attacker can manipulate the cache key and access cached data belonging to another user.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Django 6.1.3 or later, 6.0.10 or later, or 5.2.19 or later to include the fix.
  • Verify that all calls to the cache middleware or cache_page decorator are accompanied by a properly populated Vary header, or remove the caching logic from any sensitive views.
  • If an immediate upgrade is not possible, disable caching for endpoints that store private data or switch to per‑user cache keys to prevent key collisions.

Generated by OpenCVE AI on November 3, 2026 at 16:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4903-1 python-django security update
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 2.3, 'vector': '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'}

Weaknesses
  • CWE-524

    Use of Cache Containing Sensitive Information

Sources

Status
PUBLISHED
Assigner
DSF
Published
Updated
Nov 3, 2026, 6:26 PM
Reserved
Oct 20, 2026, 11:47 AM
Status
Deferred
Published
Nov 3, 2026, 4:17 PM
Modified
Nov 3, 2026, 7:17 PM
Severity
Low
Public date
Nov 12, 2026, 9:27 AM