CVE-2015-3982 json
Django allows user sessions hijacking via an empty string in the session key
published 11y ago modified 4mo ago also GHSA-6wgp-fwfm-mxp3 , PYSEC-2015-19 , EUVD-2015-0008
- cvss
- 7.5
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi django 1.8.2
- python-Django5 openSUSE Tumbleweed 5.2.16-1.1
- python-Django openSUSE Tumbleweed 5.2.16-1.1
- python-Django4 openSUSE Tumbleweed 4.2.30-4.1
- python-Django6 openSUSE Tumbleweed 6.0-1.1
- python-Django4 openSUSE Tumbleweed 4.2.14-1.1
- python-Django openSUSE Tumbleweed 1.9.12-1.1
- python-Django openSUSE Tumbleweed 3.2.7-2.3
- python-Django openSUSE Tumbleweed 4.2.11-2.1
opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:11248-1openSUSE-SU-2026:11235-1openSUSE-SU-2026:10005-1openSUSE-SU-2024:14208-1openSUSE-SU-2024:10066-1
Is CVE-2015-3982 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-3982 updated cvss 5.8
django: incorrect session flushing in the cached_db backend
-
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) python-django Red Hat Enterprise Linux OpenStack Platform 6 (Juno) python-django Red Hat OpenStack Platform 4 Django14 Red Hat Subscription Asset Manager Djangonot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.75% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=1.8a1, <1.8.2 >=1.8, <1.8.2 |
1.8.2 |
Classification
- Weakness
-
- CWE-384 Session Fixation
- Technology feeds
References
-
djangoproject.com
/weblog/2015/may/20/security-release/
patch, vendor-advisory, article
-
github.com
/django/django/commit/31cb25adecba930bdeee4556709f5a1c42d88fd6
web
-
securityfocus.com
/bid/74960
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2015-3982
advisory
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-19.yaml
web
-
web.archive.org
/web/20200228092138/http://www.securityfocus.com/bid/74960
web
-
djangoproject.com
/weblog/2015/may/20/security-release
web
-
github.com
/advisories/GHSA-6wgp-fwfm-mxp3
advisory
Sources
- CVE List CVE-2015-3982
- GitHub Advisory GHSA-6wgp-fwfm-mxp3
- NVD CVE-2015-3982
- OSV PYSEC-2015-19
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.