High
Security advisory
The cookie parsing code in Django before 1.8.15 and 1.9.x before 1.9.10, when used on a site with Google Analytics, allows remote attackers to bypass an intended CSRF protection mechanism by setting arbitrary cookies.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-7401
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:28 UTC · Revision 1
Source evidence
The cookie parsing code in Django before 1.8.15 and 1.9.x before 1.9.10, when used on a site with Google Analytics, allows remote attackers to bypass an intended CSRF protection mechanism by setting arbitrary cookies.
osv:CVE-2016-7401
Complete source record
{
"id": "d60220bc0bcb7c68e66b76f4df47b72f05c6db60df67024d0b9adc495ef5337d",
"url": "https://osv.dev/vulnerability/CVE-2016-7401",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-7401",
"summary": "The cookie parsing code in Django before 1.8.15 and 1.9.x before 1.9.10, when used on a site with Google Analytics, allows remote attackers to bypass an intended CSRF protection mechanism by setting arbitrary cookies.",
"evidence": "osv:CVE-2016-7401",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2016-7401",
"aliases": [
"CVE-2016-7401",
"GHSA-crhm-qpjc-cm64",
"PYSEC-2016-3"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/django/django",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "9fbdc48c493f43961173bab8f23d633ab41a9608"
},
{
"introduced": "e70a309c428cfd4e600dc9fa0c7269b1e7a8efcd"
},
{
"last_affected": "e8bb7464c562388da48bca04c5996fe16a0c3619"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.8.14"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:1.9.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.1"
},
{
"last_affected": "1.9.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:1.9.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.2"
},
{
"last_affected": "1.9.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:1.9.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.3"
},
{
"last_affected": "1.9.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:1.9.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.4"
},
{
"last_affected": "1.9.4"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:1.9.5:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.5"
},
{
"last_affected": "1.9.5"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:1.9.6:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.6"
},
{
"last_affected": "1.9.6"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:1.9.7:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.7"
},
{
"last_affected": "1.9.7"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:1.9.8:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.8"
},
{
"last_affected": "1.9.8"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:djangoproject:django:1.9.9:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9.9"
},
{
"last_affected": "1.9.9"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.9.1",
"1.9.2",
"1.9.3",
"1.9.4",
"1.9.5",
"1.9.6",
"1.9.7",
"1.9.8",
"1.9.9",
"1.8.14",
"1.8.13",
"1.8.12",
"1.8.11",
"1.8.10",
"1.8.9",
"1.8.8",
"1.9",
"1.9rc2",
"1.8.7",
"1.9rc1",
"1.8.6",
"1.9b1",
"1.8.5",
"1.8.4",
"1.8.3",
"1.8.2",
"1.8.1",
"1.8",
"1.8c1",
"1.8b2",
"1.8b1",
"1.8a1",
"1.7a2",
"1.4",
"1.3",
"1.2.1",
"1.2",
"1.1",
"1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7401.json"
}
}
],
"modified": "2026-10-24T10:30:18.773476644Z",
"provider": "osv",
"references": [
"https://www.djangoproject.com/weblog/2016/sep/26/security-releases/"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "12.04"
},
{
"last_affected": "12.04"
},
{
"introduced": "14.04"
},
{
"last_affected": "14.04"
},
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:djangoproject:django:1.9.0:*:*:*:*:*:*:*"
],
"vendor_product": "djangoproject:django",
"extracted_events": [
{
"range": [
{
"introduced": "1.9.0"
},
{
"last_affected": "1.9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2016-7401",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429853,
"published_at": "2016-10-03T18:59:13.137+00:00"
}