Skip to content
Fencer Vulns
high 7.5

CVE-2016-7401 json

Django CSRF Protection Bypass

published 2016-10-03 10 y ago modified 2026-06-17 4 mo ago also GHSA-crhm-qpjc-cm64 , PYSEC-2016-3 , EUVD-2016-0009

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.7%
EPSS 5.7% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

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.

Patch / fix

  • pypi django 1.8.15, 1.9.10
  • python-django Debian 14, Debian 13, Debian 12 1:1.10-1

debian advisories DEBIAN-CVE-2016-7401

  • python-django Ubuntu 14.04 LTS 1.6.1-2ubuntu0.15
  • python-django Ubuntu 16.04 LTS 1.8.7-1ubuntu5.2

ubuntu advisories UBUNTU-CVE-2016-7401

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python-django openstack 9, openstack 8, openstack 7 1.8.15-1.el7ost
  • python-django-bash-completion openstack 9, openstack 8, openstack 7 1.8.15-1.el7ost
  • python-django openstack 6, openstack 5 1.6.11-6.el7ost
  • python-django-bash-completion openstack 6, openstack 5 1.6.11-6.el7ost
  • python-django openstack 5 1.6.11-6.el6ost
  • python-django-bash-completion openstack 5 1.6.11-6.el6ost

red hat advisories RHSA-2016:2043RHSA-2016:2042RHSA-2016:2041RHSA-2016:2040RHSA-2016:2039RHSA-2016:2038

  • python-Django OpenStack Cloud 6 1.8.19-3.6.1
  • python-Django OpenStack Cloud 7 1.8.19-3.4.1

suse advisories SUSE-SU-2018:1102-1SUSE-SU-2018:0973-1

  • 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
  • rubygem-http-cookie openSUSE Tumbleweed 1.0.8-1.3
  • python-Django6 openSUSE Tumbleweed 6.0-1.1
  • rubygem-http-cookie openSUSE Tumbleweed 1.0.8-1.1
  • python-Django4 openSUSE Tumbleweed 4.2.14-1.1
  • rubygem-http-cookie openSUSE Tumbleweed 1.0.6-1.1

opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:11248-1openSUSE-SU-2026:11235-1openSUSE-SU-2026:10349-1openSUSE-SU-2026:10005-1openSUSE-SU-2025:14741-1

  • python-django Arch Linux 1.10.1-1

arch linux advisories AVG-35

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2016-7401 updated cvss 6.1

python-django: CSRF protection bypass on a site with Google Analytics

  • Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools python-django, python-django-bash-completion Red Hat OpenStack Platform 8 (Liberty) Operational Tools python-django, python-django-bash-completion Red Hat OpenStack Platform 9 (Mitaka) Operational Tools python-django, python-django-bash-completion
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 6 python-django 1.6.11-6.el6ost, python-django-bash-completion 1.6.11-6.el6ost
    fixed: vendor fix RHSA-2016:2038
  • Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7 python-django 1.6.11-6.el7ost, python-django-bash-completion 1.6.11-6.el7ost
    fixed: vendor fix RHSA-2016:2039
  • Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7 python-django 1.6.11-6.el7ost, python-django-bash-completion 1.6.11-6.el7ost
    fixed: vendor fix RHSA-2016:2040
  • Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7 python-django 1.8.15-1.el7ost, python-django-bash-completion 1.8.15-1.el7ost
    fixed: vendor fix RHSA-2016:2041
  • Red Hat OpenStack Platform 8.0 (Liberty) python-django 1.8.15-1.el7ost, python-django-bash-completion 1.8.15-1.el7ost
    fixed: vendor fix RHSA-2016:2042
  • Red Hat OpenStack Platform 9.0 python-django 1.8.15-1.el7ost, python-django-bash-completion 1.8.15-1.el7ost
    fixed: vendor fix RHSA-2016:2043
  • Red Hat Ceph Storage 1.3 Django Red Hat Ceph Storage 2 python-django, python-django-bash-completion Red Hat OpenStack Platform 10 (Newton) python-django, python-django-bash-completion Red Hat OpenStack Platform 10 (Newton) Operational Tools python-django, python-django-bash-completion Red Hat Subscription Asset Manager Django
    not 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

5.70% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub 3.0 7.5 CVSS:3.0/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.8.15
>=1.9, <1.9.10
1.8.15
1.9.10

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns 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.