CVE-2015-3982 in Djangoproject Django
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Djangoproject | Django | 1.8.0 1.8.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2015-3982 |
|---|---|
| BreachSpider ID | BS-2015-GLOBAL-104587-M |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| Published | 2015-06-02 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2015. A medium severity vulnerability affects Djangoproject systems (CVE-2015-3982). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:N/I:P/A:N.
Questions
What is CVE-2015-3982?
This vulnerability was disclosed in 2015. A medium severity vulnerability affects Djangoproject systems (CVE-2015-3982). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2015-3982?
CVE-2015-3982 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. EPSS: 1.8%.
Is CVE-2015-3982 actively exploited?
No confirmed active exploitation of CVE-2015-3982 as of 2026-09-25.
How do I remediate CVE-2015-3982?
Priority: MONITOR. Advisory: https://www.djangoproject.com/weblog/2015/may/20/security-release/ PSIRT: [email protected]
What systems are affected by CVE-2015-3982?
CVE-2015-3982 affects Djangoproject Django.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Djangoproject","product":"Django","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.