cve.bz

CVE-2016-7401 7PK - Security Features

7.5 highEPSS 5.7%Fix available

High (7.5). EPSS 5.7% estimated probability of exploitation activity in the next 30 days. Fixed in django 1.8.15, 1.9.10.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
5.7% (unchanged from 5.7% a week ago; 5.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-254 7PK - Security Features
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-7401 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-7401?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-7401?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-7401 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
djangoproject:djangothrough 1.8.14
djangoproject:django1.9.0
djangoproject:django1.9.1
djangoproject:django1.9.2
djangoproject:django1.9.3
djangoproject:django1.9.4
djangoproject:django1.9.5
djangoproject:django1.9.6
djangoproject:django1.9.7
djangoproject:django1.9.8
djangoproject:django1.9.9
debian:debian_linux8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-crhm-qpjc-cm64PyPIdjango<1.8.151.8.15
GHSA-crhm-qpjc-cm64PyPIdjango>=1.9 <1.9.101.9.10
PYSEC-2016-3PyPIdjango<1.8.15
>=1.9 <1.9.10
1.8.15, 1.9.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7python-django1.4.22-1+deb7u1DLA-649-1
Debian8python-django1.7.11-1+deb8u1DSA-3678-1
Debian12, 13, 14python-django1:1.10-1DEBIAN-CVE-2016-7401
Ubuntu14.04:LTSpython-django1.6.1-2ubuntu0.15UBUNTU-CVE-2016-7401 USN-3089-1
Ubuntu16.04:LTSpython-django1.8.7-1ubuntu5.2UBUNTU-CVE-2016-7401 USN-3089-1
Red Hatopenstack:5::el6python-django, python-django-doc, python-django-bash-completion0:1.6.11-6.el6ostRHSA-2016:2038
Red Hatopenstack:5::el7python-django, python-django-doc, python-django-bash-completion0:1.6.11-6.el7ostRHSA-2016:2039
Red Hatopenstack:6::el7python-django, python-django-doc, python-django-bash-completion0:1.6.11-6.el7ostRHSA-2016:2040
Red Hatopenstack:7::el7python-django, python-django-doc, python-django-bash-completion0:1.8.15-1.el7ostRHSA-2016:2041
Red Hatopenstack:8::el7python-django, python-django-bash-completion0:1.8.15-1.el7ostRHSA-2016:2042
Red Hatopenstack:9::el7python-django, python-django-bash-completion0:1.8.15-1.el7ostRHSA-2016:2043
SUSEOpenStack Cloud 6python-Django1.8.19-3.6.1SUSE-SU-2018:1102-1
SUSEOpenStack Cloud 7python-Django1.8.19-3.4.1SUSE-SU-2018:0973-1
openSUSETumbleweedpython-Django3.2.7-2.3openSUSE-SU-2024:11205-1
openSUSETumbleweedpython-Django4.2.11-2.1openSUSE-SU-2024:13887-1
openSUSETumbleweedpython-Django5.2.16-1.1openSUSE-SU-2026:11248-1
openSUSETumbleweedpython-Django44.2.14-1.1openSUSE-SU-2024:14208-1
openSUSETumbleweedpython-Django44.2.30-4.1openSUSE-SU-2026:11235-1
openSUSETumbleweedpython-Django55.2.16-1.1openSUSE-SU-2026:11270-1
openSUSETumbleweedpython-Django66.0-1.1openSUSE-SU-2026:10005-1
openSUSETumbleweedruby3.2-rubygem-http-cookie1.0.5-1.4openSUSE-SU-2024:13158-1
openSUSETumbleweedrubygem-http-cookie1.0.5-1.1openSUSE-SU-2024:12248-1
openSUSETumbleweedrubygem-http-cookie1.0.6-1.1openSUSE-SU-2024:14073-1
openSUSETumbleweedrubygem-http-cookie1.0.8-1.1openSUSE-SU-2025:14741-1
openSUSETumbleweedrubygem-http-cookie1.0.8-1.3openSUSE-SU-2026:10349-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 6python-django-0:1.6.11-6.el6ostFixed 2016-10-10RHSA-2016:2038
Red Hat Enterprise Linux OpenStack Platform 5.0 (Icehouse) for RHEL 7python-django-0:1.6.11-6.el7ostFixed 2016-10-10RHSA-2016:2039
Red Hat Enterprise Linux OpenStack Platform 6.0 (Juno) for RHEL 7python-django-0:1.6.11-6.el7ostFixed 2016-10-10RHSA-2016:2040
Red Hat Enterprise Linux OpenStack Platform 7.0 (Kilo) for RHEL 7python-django-0:1.8.15-1.el7ostFixed 2016-10-10RHSA-2016:2041
Red Hat OpenStack Platform 8.0 (Liberty)python-django-0:1.8.15-1.el7ostFixed 2016-10-10RHSA-2016:2042
Red Hat OpenStack Platform 9.0 (Mitaka)python-django-0:1.8.15-1.el7ostFixed 2016-10-10RHSA-2016:2043
Red Hat Ceph Storage 1.3DjangoNot affected
Red Hat Ceph Storage 2python-djangoNot affected
Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Toolspython-djangoWill not fix
Red Hat OpenStack Platform 10 (Newton)python-djangoNot affected
Red Hat OpenStack Platform 10 (Newton) Operational Toolspython-djangoNot affected
Red Hat OpenStack Platform 8 (Liberty) Operational Toolspython-djangoWill not fix
Red Hat OpenStack Platform 9 (Mitaka) Operational Toolspython-djangoWill not fix
Red Hat Subscription Asset ManagerDjangoNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-7401.

References

Check your stackJSON