Every CVE Search/ Get API key

CVE-2016-7401

Django CSRF Protection Bypass

7.5 HighFix available

CVE-2016-7401 is a high vulnerability (CVSS 7.5) in Djangoproject Django, published September 26, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.70%, the 93rd percentile. Fixed in django 1.8.15.

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

5.70%Up 3.5 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2016-7401
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:P/A:N
Weakness
CWE-254
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2016-7401
Updated
2026-11-02
EUVDEUVD-2016-0009 No score

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.

Record
EUVD-2016-0009
Updated
2026-11-03
GitHub AdvisoriesGHSA-crhm-qpjc-cm64 8.7

Django CSRF Protection Bypass

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.

Record
GHSA-crhm-qpjc-cm64
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSV 7.5

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.

Record
CVE-2016-7401
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2016-7401 7.5

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.

Record
DEBIAN-CVE-2016-7401
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
Show 26 moreShow less
OSVGHSA-crhm-qpjc-cm64 8.7

Django CSRF Protection Bypass

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.

Record
GHSA-crhm-qpjc-cm64
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVRHSA-2016:2038 6.1

Red Hat Security Advisory: python-django security update

Record
RHSA-2016:2038
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2016:2039 6.1

Red Hat Security Advisory: python-django security update

Record
RHSA-2016:2039
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2016:2040 6.1

Red Hat Security Advisory: python-django security update

Record
RHSA-2016:2040
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2016:2041 6.1

Red Hat Security Advisory: python-django security update

Record
RHSA-2016:2041
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2016:2042 6.1

Red Hat Security Advisory: python-django security update

Record
RHSA-2016:2042
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2016:2043 6.1

Red Hat Security Advisory: python-django security update

Record
RHSA-2016:2043
CVSS 3.0
6.1 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2016-7401 7.5

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.

Record
UBUNTU-CVE-2016-7401
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVMGASA-2016-0334 No score

Updated python-django packages fix security vulnerability

CVE-2016-7401: CSRF protection bypass on a site with Google Analytics

An interaction between Google Analytics and Django's cookie parsing could allow an attacker to set arbitrary cookies leading to a bypass of CSRF protection.

Record
MGASA-2016-0334
Updated
2026-11-02
OSVopenSUSE-SU-2024:11205-1 No score

python36-Django-3.2.7-2.3 on GA media

These are all security issues fixed in the python36-Django-3.2.7-2.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11205-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11333-1 No score

ruby2.7-rubygem-http-cookie-1.0.4-1.2 on GA media

These are all security issues fixed in the ruby2.7-rubygem-http-cookie-1.0.4-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11333-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12248-1 No score

ruby3.1-rubygem-http-cookie-1.0.5-1.1 on GA media

These are all security issues fixed in the ruby3.1-rubygem-http-cookie-1.0.5-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12248-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:13158-1 No score

ruby3.2-rubygem-http-cookie-1.0.5-1.4 on GA media

These are all security issues fixed in the ruby3.2-rubygem-http-cookie-1.0.5-1.4 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13158-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:13887-1 No score

python310-Django-4.2.11-2.1 on GA media

These are all security issues fixed in the python310-Django-4.2.11-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13887-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:14073-1 No score

ruby3.3-rubygem-http-cookie-1.0.6-1.1 on GA media

These are all security issues fixed in the ruby3.3-rubygem-http-cookie-1.0.6-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14073-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:14208-1 No score

python310-Django4-4.2.14-1.1 on GA media

These are all security issues fixed in the python310-Django4-4.2.14-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14208-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:14741-1 No score

ruby3.4-rubygem-http-cookie-1.0.8-1.1 on GA media

These are all security issues fixed in the ruby3.4-rubygem-http-cookie-1.0.8-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:14741-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:10005-1 No score

python312-Django6-6.0-1.1 on GA media

These are all security issues fixed in the python312-Django6-6.0-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10005-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:10349-1 No score

ruby4.0-rubygem-http-cookie-1.0.8-1.3 on GA media

These are all security issues fixed in the ruby4.0-rubygem-http-cookie-1.0.8-1.3 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:10349-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:11235-1 No score

python313-Django4-4.2.30-4.1 on GA media

These are all security issues fixed in the python313-Django4-4.2.30-4.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11235-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:11248-1 No score

python313-Django-5.2.16-1.1 on GA media

These are all security issues fixed in the python313-Django-5.2.16-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11248-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:11270-1 No score

python313-Django5-5.2.16-1.1 on GA media

These are all security issues fixed in the python313-Django5-5.2.16-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11270-1
Updated
2026-11-02
OSVPYSEC-2016-3 No score

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.

Record
PYSEC-2016-3
Updated
2026-11-02
OSVSUSE-SU-2018:0973-1 No score

Security update for python-Django

This update for python-Django fixes the following issues:

Security issues fixed:

  • CVE-2018-7537: Fixed catastrophic backtracking in django.utils.text.Truncator. (bsc#1083305)
  • CVE-2018-7536: Fixed catastrophic backtracking in urlize and urlizetrunc template filters. (bsc#1083304)
  • CVE-2017-12794: Fixed XSS possibility in traceback section of technical 500 debug page (bsc#1056284)
  • CVE-2017-7234: Open redirect vulnerability in django.views.static.serve() (bsc#1031451)
  • CVE-2017-7233: Open redirect and possible XSS attack via user-supplied numeric redirect URLs (bsc#1031450)
  • CVE-2016-9014: DNS rebinding vulnerability when DEBUG=True (bsc#1008047)
  • CVE-2016-9013: User with hardcoded password created when running tests on Oracle (bsc#1008050)
  • CVE-2016-7401: CSRF protection bypass on a site with Google Analytics (bsc#1001374)
Record
SUSE-SU-2018:0973-1
Updated
2026-11-02
OSVSUSE-SU-2018:1102-1 No score

Security update for python-Django

This update for python-Django fixes the following issues:

Security issues fixed:

  • CVE-2018-7537: Fixed catastrophic backtracking in django.utils.text.Truncator. (bsc#1083305)
  • CVE-2018-7536: Fixed catastrophic backtracking in urlize and urlizetrunc template filters. (bsc#1083304)
  • CVE-2017-12794: Fixed XSS possibility in traceback section of technical 500 debug page (bsc#1056284)
  • CVE-2017-7234: Open redirect vulnerability in django.views.static.serve() (bsc#1031451)
  • CVE-2017-7233: Open redirect and possible XSS attack via user-supplied numeric redirect URLs (bsc#1031450)
  • CVE-2016-9014: DNS rebinding vulnerability when DEBUG=True (bsc#1008047)
  • CVE-2016-9013: User with hardcoded password created when running tests on Oracle (bsc#1008050)
  • CVE-2016-7401: CSRF protection bypass on a site with Google Analytics (bsc#1001374)
  • CVE-2016-2512: Vulnerability in the function tils.http.is_safe_url could allow remote users to arbitrary web site and conduct phishing attacks. (bsc#bnc#967999)
Record
SUSE-SU-2018:1102-1
Updated
2026-11-02
OSVUSN-3089-1 No score

python-django vulnerability

Sergey Bobrov discovered that Django incorrectly parsed cookies when being used with Google Analytics. A remote attacker could possibly use this issue to set arbitrary cookies leading to a CSRF protection bypass.

Record
USN-3089-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
django
PyPI
before 1.8.15
1.8.15
django
PyPI
1.9 up to 1.9.10
1.9.10
python-django
Debian:12
before 1:1.10-1
1:1.10-1
python-django
Debian:13
before 1:1.10-1
1:1.10-1
python-django
Debian:14
before 1:1.10-1
1:1.10-1
python-django
Debian:7
before 1.4.22-1+deb7u1, plus listed versions
1.4.22-11.4.5-11.4.5-1+deb7u11.4.5-1+deb7u101.4.5-1+deb7u11
Show 20 moreShow less
1.4.5-1+deb7u11~bpo60+11.4.5-1+deb7u121.4.5-1+deb7u131.4.5-1+deb7u13~bpo60+11.4.5-1+deb7u141.4.5-1+deb7u14~bpo60+11.4.5-1+deb7u151.4.5-1+deb7u161.4.5-1+deb7u171.4.5-1+deb7u21.4.5-1+deb7u31.4.5-1+deb7u41.4.5-1+deb7u4~bpo60+11.4.5-1+deb7u51.4.5-1+deb7u61.4.5-1+deb7u71.4.5-1+deb7u7~bpo60+11.4.5-1+deb7u81.4.5-1+deb7u8~bpo60+11.4.5-1+deb7u9
1.4.22-1+deb7u1
python-django
Debian:8
before 1.7.11-1+deb8u1, plus listed versions
1.7.10-11.7.11-11.7.7-11.7.7-1+deb8u11.7.7-1+deb8u2
Show 4 moreShow less
1.7.7-1+deb8u31.7.7-1+deb8u41.7.7-1+deb8u51.7.9-1
1.7.11-1+deb8u1
django
PyPI
before 1.8.15, plus listed versions
1.0.11.0.21.0.31.0.41.1
Show 45 moreShow less
1.1.11.1.21.1.31.1.41.21.2.11.2.21.2.31.2.41.2.51.2.61.2.71.31.3.11.3.21.3.31.3.41.3.51.3.61.3.71.41.4.11.4.101.4.111.4.121.4.131.4.141.4.151.4.161.4.171.4.181.4.191.4.21.4.201.4.211.4.221.4.31.4.41.4.51.4.61.4.71.4.81.4.91.51.5.1
1.8.15
django
PyPI
1.9 up to 1.9.10, plus listed versions
1.9.11.9.21.9.31.9.41.9.5
Show 4 moreShow less
1.9.61.9.71.9.81.9.9
1.9.10
python-django
Mageia:5
before 1.8.15-1.mga5
1.8.15-1.mga5
Show 33 moreShow less
Affected packages
PackageAffectedFixed
django
PyPI
before 1.8.15, 1.9 up to 1.9.10, plus listed versions
1.0.11.0.21.0.31.0.41.1
Show 45 moreShow less
1.1.11.1.21.1.31.1.41.21.2.11.2.21.2.31.2.41.2.51.2.61.2.71.31.3.11.3.21.3.31.3.41.3.51.3.61.3.71.41.4.11.4.101.4.111.4.121.4.131.4.141.4.151.4.161.4.171.4.181.4.191.4.21.4.201.4.211.4.221.4.31.4.41.4.51.4.61.4.71.4.81.4.91.51.5.1
1.8.151.9.10
python-django
Red Hat:openstack:5::el6
before 0:1.6.11-6.el6ost
0:1.6.11-6.el6ost
python-django-bash-completion
Red Hat:openstack:5::el6
before 0:1.6.11-6.el6ost
0:1.6.11-6.el6ost
python-django-doc
Red Hat:openstack:5::el6
before 0:1.6.11-6.el6ost
0:1.6.11-6.el6ost
python-django
Red Hat:openstack:5::el7
before 0:1.6.11-6.el7ost
0:1.6.11-6.el7ost
python-django-bash-completion
Red Hat:openstack:5::el7
before 0:1.6.11-6.el7ost
0:1.6.11-6.el7ost
python-django-doc
Red Hat:openstack:5::el7
before 0:1.6.11-6.el7ost
0:1.6.11-6.el7ost
python-django
Red Hat:openstack:6::el7
before 0:1.6.11-6.el7ost
0:1.6.11-6.el7ost
python-django-bash-completion
Red Hat:openstack:6::el7
before 0:1.6.11-6.el7ost
0:1.6.11-6.el7ost
python-django-doc
Red Hat:openstack:6::el7
before 0:1.6.11-6.el7ost
0:1.6.11-6.el7ost
python-django
Red Hat:openstack:7::el7
before 0:1.8.15-1.el7ost
0:1.8.15-1.el7ost
python-django-bash-completion
Red Hat:openstack:7::el7
before 0:1.8.15-1.el7ost
0:1.8.15-1.el7ost
python-django-doc
Red Hat:openstack:7::el7
before 0:1.8.15-1.el7ost
0:1.8.15-1.el7ost
python-django
Red Hat:openstack:8::el7
before 0:1.8.15-1.el7ost
0:1.8.15-1.el7ost
python-django-bash-completion
Red Hat:openstack:8::el7
before 0:1.8.15-1.el7ost
0:1.8.15-1.el7ost
python-django
Red Hat:openstack:9::el7
before 0:1.8.15-1.el7ost
0:1.8.15-1.el7ost
python-django-bash-completion
Red Hat:openstack:9::el7
before 0:1.8.15-1.el7ost
0:1.8.15-1.el7ost
python-Django
SUSE:OpenStack Cloud 7
before 1.8.19-3.4.1
1.8.19-3.4.1
python-Django
SUSE:OpenStack Cloud 6
before 1.8.19-3.6.1
1.8.19-3.6.1
python-django
Ubuntu:14.04:LTS
before 1.6.1-2ubuntu0.15, plus listed versions
1.5.4-1ubuntu11.6-11.6.1-11.6.1-21.6.1-2ubuntu0.1
Show 12 moreShow less
1.6.1-2ubuntu0.21.6.1-2ubuntu0.31.6.1-2ubuntu0.41.6.1-2ubuntu0.51.6.1-2ubuntu0.61.6.1-2ubuntu0.81.6.1-2ubuntu0.91.6.1-2ubuntu0.101.6.1-2ubuntu0.111.6.1-2ubuntu0.121.6.1-2ubuntu0.131.6.1-2ubuntu0.14
1.6.1-2ubuntu0.15
python-django
Ubuntu:16.04:LTS
before 1.8.7-1ubuntu5.2, plus listed versions
1.7.9-1ubuntu51.8.5-2ubuntu11.8.7-1ubuntu11.8.7-1ubuntu21.8.7-1ubuntu31.8.7-1ubuntu41.8.7-1ubuntu51.8.7-1ubuntu5.1
1.8.7-1ubuntu5.2
python-Django
openSUSE:Tumbleweed
before 3.2.7-2.3
3.2.7-2.3
rubygem-http-cookie
openSUSE:Tumbleweed
before 1.0.5-1.1
1.0.5-1.1
ruby3.2-rubygem-http-cookie
openSUSE:Tumbleweed
before 1.0.5-1.4
1.0.5-1.4
python-Django
openSUSE:Tumbleweed
before 4.2.11-2.1
4.2.11-2.1
rubygem-http-cookie
openSUSE:Tumbleweed
before 1.0.6-1.1
1.0.6-1.1
python-Django4
openSUSE:Tumbleweed
before 4.2.14-1.1
4.2.14-1.1
rubygem-http-cookie
openSUSE:Tumbleweed
before 1.0.8-1.1
1.0.8-1.1
python-Django6
openSUSE:Tumbleweed
before 6.0-1.1
6.0-1.1
rubygem-http-cookie
openSUSE:Tumbleweed
before 1.0.8-1.3
1.0.8-1.3
python-Django4
openSUSE:Tumbleweed
before 4.2.30-4.1
4.2.30-4.1
python-Django
openSUSE:Tumbleweed
before 5.2.16-1.1
5.2.16-1.1
python-Django5
openSUSE:Tumbleweed
before 5.2.16-1.1
5.2.16-1.1

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 142 moreShow less
This page doesn't list everything

Left out here: 117 versions. The JSON record has them.

MoveEnter Open