CVE Catalog

CVE-2026-113593

LowCVSS 3.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.46%

40th percentile - higher than 40% of all known CVEs

Summary

In Django 6.1 before 6.1.3, 6.0 before 6.0.10, and 5.2 before 5.2.19, 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. This may allow remote attackers to access private data cached for another request.

Risk Assessment

A remote attacker may access private data cached for another user or request, leading to information disclosure. The risk affects Django applications using page caching and the Vary header.

Recommendation

Upgrade Django to 6.1.3, 6.0.10, 5.2.19, or later. Until then, consider disabling page caching for sensitive content or reviewing the Vary header configuration.

Other vulnerabilities in Django

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS