Skip to content
OpenAdvisories
Low · 2.3 CVE-2026-35192 BIT-django-2026-35192EUVD-2026-27347GHSA-7h2m-m8vj-598hPYSEC-2026-50

Session fixation via public cached pages and SESSION_SAVE_EVERY_REQUEST

Published May 5, 2026 · Updated May 6, 2026 · Assigned by DSF

Description

An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14.
Response headers do not vary on cookies if a session is not modified, but `SESSION_SAVE_EVERY_REQUEST` is `True`. A remote attacker can steal a user's session after that user visits a cached public page.
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 Cantina for reporting this issue.

Affected products

VendorProductAffectedFixed
djangoproject Django 6.0 – < 6.0.5, 5.2 – < 5.2.14 6.0.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 3:5.2.14-1 —
Debian 13 python-django No fix yet —
Debian 12 python-django No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS python-django 3:5.2.9-0ubuntu4.1 —
Ubuntu 25.10 python-django 3:5.2.4-1ubuntu2.5 —
Ubuntu 24.04 LTS python-django 3:4.2.11-1ubuntu1.16 —
Ubuntu 22.04 LTS python-django 2:3.2.12-2ubuntu1.27 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS python-django No fix yet —
Ubuntu Pro 18.04 LTS python-django No fix yet —
Ubuntu Pro 16.04 LTS python-django No fix yet —
Ubuntu Pro 14.04 LTS python-django No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Django 5.2.14-1.1 openSUSE-SU-2026:10718-1
openSUSE Tumbleweed python-Django4 4.2.30-2.1 openSUSE-SU-2026:10708-1
openSUSE Tumbleweed python-Django5 5.2.16-1.1 openSUSE-SU-2026:11270-1
openSUSE Tumbleweed python-Django6 6.0.5-1.1 openSUSE-SU-2026:10709-1
ReleasePackageFixed inAdvisory
Alpine v3.24 py3-django 5.2.14-r0 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling py3-django +2 6.0.5-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 6.0, < 6.0.5 6.0.5 GHSA-7h2m-m8vj-598h
PyPI django >= 5.2, < 5.2.14 5.2.14 GHSA-7h2m-m8vj-598h
PyPI django >= 5.2, < 5.2.14 · >= 6.0, < 6.0.5 5.2.14, 6.0.5 PYSEC-2026-50

Advisories 5

References