CVE-2026-48588

NameCVE-2026-48588
DescriptionAn issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. `UpdateCacheMiddleware` and the `cache_page()` decorator cache responses that vary on cookies when the incoming request carries unrelated cookies, which allows remote attackers to read private data from the shared cache. 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 Chris Whyland for reporting this issue.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1141629

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-django (PTS)bookworm3:3.2.25-0+deb12u3vulnerable
bookworm (security)3:3.2.25-0+deb12u4vulnerable
trixie3:4.2.28-0+deb13u2vulnerable
trixie (security)3:4.2.28-0+deb13u1vulnerable
forky3:5.2.17-1fixed
sid3:5.2.17-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-djangosource(unstable)3:5.2.16-11141629

Notes

[trixie] - python-django <no-dsa> (Minor issue)
[bookworm] - python-django <postponed> (Minor issue)
[bullseye] - python-django <postponed> (Minor issue)
https://www.djangoproject.com/weblog/2026/jul/07/security-releases/
Fixed by: https://github.com/django/django/commit/721685aa7799cc9327bd202cd1f70bd012ca95a7 (5.2.16)

Search for package or bug name: Reporting problems