python-django: CSRF protection bypass on a site with Google Analytics
Published Oct 3, 2016
8.7
HIGHCVSS 4.0
EPSS 5.70%
Description
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.
Affected products
No data.
Configuration 1
- 12.04
- 14.04
- 16.04
Configuration 2
- ≤ 1.8.14
- 1.9.0
- 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
Configuration 3
- 8.0
No data.
Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 6
python-django-0:1.6.11-6.el6ost
Fixed · RHSA-2016:2038
Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7
python-django-0:1.6.11-6.el7ost
Fixed · RHSA-2016:2039
Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7
python-django-0:1.6.11-6.el7ost
Fixed · RHSA-2016:2040
Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7
python-django-0:1.8.15-1.el7ost
Fixed · RHSA-2016:2041
Red Hat OpenStack Platform 8.0 (Liberty)
python-django-0:1.8.15-1.el7ost
Fixed · RHSA-2016:2042
Red Hat OpenStack Platform 9.0 (Mitaka)
python-django-0:1.8.15-1.el7ost
Fixed · RHSA-2016:2043
Red Hat Ceph Storage 1.3
Django
Not affected
Red Hat Ceph Storage 2
python-django
Not affected
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools
python-django
Will not fix
Red Hat OpenStack Platform 10 (Newton)
python-django
Not affected
Red Hat OpenStack Platform 10 (Newton) Operational Tools
python-django
Not affected
Red Hat OpenStack Platform 8 (Liberty) Operational Tools
python-django
Will not fix
Red Hat OpenStack Platform 9 (Mitaka) Operational Tools
python-django
Will not fix
Red Hat Subscription Asset Manager
Django
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 6 | python-django-0:1.6.11-6.el6ost | Fixed | RHSA-2016:2038 |
| Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7 | python-django-0:1.6.11-6.el7ost | Fixed | RHSA-2016:2039 |
| Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7 | python-django-0:1.6.11-6.el7ost | Fixed | RHSA-2016:2040 |
| Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7 | python-django-0:1.8.15-1.el7ost | Fixed | RHSA-2016:2041 |
| Red Hat OpenStack Platform 8.0 (Liberty) | python-django-0:1.8.15-1.el7ost | Fixed | RHSA-2016:2042 |
| Red Hat OpenStack Platform 9.0 (Mitaka) | python-django-0:1.8.15-1.el7ost | Fixed | RHSA-2016:2043 |
| Red Hat Ceph Storage 1.3 | Django | Not affected | n/a |
| Red Hat Ceph Storage 2 | python-django | Not affected | n/a |
| Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools | python-django | Will not fix | n/a |
| Red Hat OpenStack Platform 10 (Newton) | python-django | Not affected | n/a |
| Red Hat OpenStack Platform 10 (Newton) Operational Tools | python-django | Not affected | n/a |
| Red Hat OpenStack Platform 8 (Liberty) Operational Tools | python-django | Will not fix | n/a |
| Red Hat OpenStack Platform 9 (Mitaka) Operational Tools | python-django | Will not fix | n/a |
| Red Hat Subscription Asset Manager | Django | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of calamari-server as shipped with Red Hat Ceph Storage 1.3 and 2.0 as they did not include support for google analytics with Django.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
AV:N/AC:L/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (38 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.70% (0.05702) | 92.77th | v5 (v2026.06.15) |
| Jun 15, 2026 | 6.13% (0.06130) | 92.50th | v5 (v2026.06.15) |
| Jun 3, 2026 | 6.16% (0.06156) | 90.98th | v4 (v2025.03.14) |
| May 24, 2026 | 4.80% (0.04799) | 89.61th | v4 (v2025.03.14) |
| May 13, 2026 | 2.95% (0.02950) | 86.59th | v4 (v2025.03.14) |
| Mar 4, 2026 | 4.38% (0.04378) | 88.76th | v4 (v2025.03.14) |
| Mar 1, 2026 | 5.46% (0.05462) | 90.07th | v4 (v2025.03.14) |
| Feb 4, 2026 | 4.38% (0.04378) | 88.69th | v4 (v2025.03.14) |
| Feb 1, 2026 | 7.16% (0.07156) | 91.39th | v4 (v2025.03.14) |
| Jan 18, 2026 | 4.38% (0.04378) | 88.63th | v4 (v2025.03.14) |
| Jan 12, 2026 | 7.71% (0.07708) | 91.64th | v4 (v2025.03.14) |
| Dec 28, 2025 | 5.49% (0.05488) | 89.91th | v4 (v2025.03.14) |
| Dec 27, 2025 | 3.72% (0.03718) | 87.66th | v4 (v2025.03.14) |
| Oct 28, 2025 | 5.49% (0.05488) | 89.75th | v4 (v2025.03.14) |
| Oct 27, 2025 | 3.72% (0.03718) | 87.48th | v4 (v2025.03.14) |
| Oct 1, 2025 | 5.29% (0.05294) | 89.64th | v4 (v2025.03.14) |
| Sep 11, 2025 | 3.72% (0.03718) | 87.53th | v4 (v2025.03.14) |
| Jun 19, 2025 | 6.63% (0.06628) | 90.73th | v4 (v2025.03.14) |
| May 2, 2025 | 3.78% (0.03776) | 87.47th | v4 (v2025.03.14) |
| May 1, 2025 | 6.83% (0.06831) | 90.85th | v4 (v2025.03.14) |
| Apr 12, 2025 | 5.23% (0.05228) | 89.05th | v4 (v2025.03.14) |
| Apr 11, 2025 | 6.83% (0.06831) | 90.51th | v4 (v2025.03.14) |
| Apr 8, 2025 | 5.23% (0.05228) | 89.03th | v4 (v2025.03.14) |
| Apr 7, 2025 | 6.83% (0.06831) | 90.48th | v4 (v2025.03.14) |
| Apr 3, 2025 | 5.23% (0.05228) | 89.01th | v4 (v2025.03.14) |
| Apr 2, 2025 | 6.83% (0.06831) | 90.48th | v4 (v2025.03.14) |
| Mar 31, 2025 | 5.23% (0.05228) | 88.99th | v4 (v2025.03.14) |
| Mar 30, 2025 | 6.83% (0.06831) | 90.44th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.46% (0.02459) | 75.35th | v4 (v2025.03.14) |
| Mar 26, 2025 | 5.23% (0.05228) | 88.90th | v4 (v2025.03.14) |
| Mar 25, 2025 | 6.83% (0.06831) | 90.39th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.23% (0.05228) | 89.24th | v4 (v2025.03.14) |
| Dec 17, 2024 | 2.42% (0.02419) | 89.64th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.77% (0.00767) | 80.63th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.77% (0.00767) | 78.41th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.17% (0.02172) | 80.77th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.17% (0.02172) | 78.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.17% (0.02172) | 57.73th | v2 (v2022.01.01) |
References (22)
- http://rhn.redhat.com/errata/RHSA-2016-2038.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2016-2039.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2016-2040.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2016-2041.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2016-2042.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2016-2043.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2016/dsa-3678 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.securityfocus.com/bid/93182 vdb-entryx_refsource_BIDThird Party Advisory
- http://www.securitytracker.com/id/1036899 vdb-entryx_refsource_SECTRACKThird Party Advisory
- http://www.ubuntu.com/usn/USN-3089-1 vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2016-7401 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1377376 Issue Tracking
- https://github.com/advisories/GHSA-crhm-qpjc-cm64 Advisory
- https://github.com/django/django/commit/6118ab7d0676f0d622278e5be215f14fb5410b6a
- https://github.com/django/django/commit/6fe846a8f08dc959003f298b5407e321c6fe3735
- https://github.com/django/django/commit/d1bc980db1c0fffd6d60677e62f70beadb9fe64a
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-3.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2016-7401
- https://web.archive.org/web/20200227223637/http://www.securityfocus.com/bid/93182
- https://web.archive.org/web/20210927195154/http://www.securitytracker.com/id/1036899
- https://www.cve.org/CVERecord?id=CVE-2016-7401
- https://www.djangoproject.com/weblog/2016/sep/26/security-releases x_refsource_CONFIRMPatchVendor Advisory
Change history (0)
No recorded changes yet.