All reports
Medium

Django allows user sessions hijacking via an empty string in the session key

Affected versions

Version ranges need review.

Affected versions
>= 1.8a1, < 1.8.2
Fixed version
1.8.2
Affected versions
>=1.8 <1.8.2
Fixed version
1.8.2

Exploitation

CVE-2015-3982

Probability of exploitation in the next 30 days: 1.75%

FIRST EPSS · 2026-11-20

Description

The session.flush function in the cached_db backend in Django 1.8.x before 1.8.2 does not properly flush the session, which allows remote attackers to hijack user sessions via an empty string in the session key.

Links

Credits

  • MarkLee131