CVE catalog

CVE-2016-7401

python-django: CVE-2016-7401

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
5.70% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-djangosid3:5.2.18-1fixed
Debianpython-djangoforky3:5.2.17-2fixed
Debianpython-djangotrixie3:4.2.28-0+deb13u2fixed
Debianpython-djangotrixie-security3:4.2.28-0+deb13u1fixed
Debianpython-djangobookworm3:3.2.25-0+deb12u3fixed
Debianpython-djangobookworm-security3:3.2.25-0+deb12u6fixed
Opensuserubygem-http-cookietumbleweed1.0.8-1.3fixed
Ubuntupython-django14.041.5.4-1ubuntu1vulnerable
Ubuntupython-django14.041.6-1vulnerable
Ubuntupython-django14.041.6.1-1vulnerable
Ubuntupython-django14.041.6.1-2vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.1vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.2vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.3vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.4vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.5vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.6vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.8vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.9vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.10vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.11vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.12vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.13vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.14vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.15fixed
Ubuntupython-django16.041.7.9-1ubuntu5vulnerable
Ubuntupython-django16.041.8.5-2ubuntu1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu2vulnerable
Ubuntupython-django16.041.8.7-1ubuntu3vulnerable
Ubuntupython-django16.041.8.7-1ubuntu4vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.2fixed
Opensuseruby3.2-rubygem-http-cookietumbleweed1.0.5-1.4fixed
Ubuntupython-django14.041.5.4-1ubuntu1vulnerable
Ubuntupython-django14.041.6-1vulnerable
Ubuntupython-django14.041.6.1-1vulnerable
Ubuntupython-django14.041.6.1-2vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.1vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.2vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.3vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.4vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.5vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.6vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.8vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.9vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.10vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.11vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.12vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.13vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.14vulnerable
Ubuntupython-django14.041.6.1-2ubuntu0.15fixed
Ubuntupython-django16.041.7.9-1ubuntu5vulnerable
Ubuntupython-django16.041.8.5-2ubuntu1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu2vulnerable
Ubuntupython-django16.041.8.7-1ubuntu3vulnerable
Ubuntupython-django16.041.8.7-1ubuntu4vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.1vulnerable
Ubuntupython-django16.041.8.7-1ubuntu5.2fixed
Susepython-Djangoopenstack cloud 71.8.19-3.4.1fixed
Opensuserubygem-http-cookietumbleweed1.0.8-1.1fixed
Opensuserubygem-http-cookietumbleweed1.0.6-1.1fixed
Opensuserubygem-http-cookietumbleweed1.0.5-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-djangosourcesid1:1.10-1lowNot reportedNot reported
Debianpython-djangosourceforky1:1.10-1lowNot reportedNot reported
Debianpython-djangosourcetrixie1:1.10-1lowNot reportedNot reported
Debianpython-djangosourcebookworm1:1.10-1lowNot reportedNot reported
Opensuserubygem-http-cookierpmtumbleweed1.0.8-1.3Not reportedOPENSUSE-SU-2026:10349-1Not reported
Ubuntupython-djangodeb14.041.6.1-2ubuntu0.15Not reportedUSN-3089-1Not reported
Ubuntupython-djangodeb16.041.8.7-1ubuntu5.2Not reportedUSN-3089-1Not reported
Opensuseruby3.2-rubygem-http-cookierpmtumbleweed1.0.5-1.4Not reportedOPENSUSE-SU-2024:13158-1Not reported
Ubuntupython-djangodeb14.041.6.1-2ubuntu0.15Not reportedUBUNTU-CVE-2016-7401Not reported
Ubuntupython-djangodeb16.041.8.7-1ubuntu5.2Not reportedUBUNTU-CVE-2016-7401Not reported
Susepython-Djangorpmopenstack cloud 71.8.19-3.4.1Not reportedSUSE-SU-2018:0973-1Not reported
Opensuserubygem-http-cookierpmtumbleweed1.0.8-1.1Not reportedOPENSUSE-SU-2025:14741-1Not reported
Opensuserubygem-http-cookierpmtumbleweed1.0.6-1.1Not reportedOPENSUSE-SU-2024:14073-1Not reported
Opensuserubygem-http-cookierpmtumbleweed1.0.5-1.1Not reportedOPENSUSE-SU-2024:12248-1Not reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · bookworm; dsa · python-django · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-django]

    Details (6)
    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · 13

  • Source package: [python-django]

    Details (6)
    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u2 · all · trixie

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · 13

    • 3:5.2.16-1~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · 13

    • 3:4.2.28-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 1:1.10-1

      dsa · python-django · debian · 13

[openSUSE Tumbleweed]

  • Source package: [rubygem-http-cookie]

    Details (1)
    • 1.0.8-1.6 · x86_64 · tumbleweed

      Unknown · Fixed: 1.0.5-1.1, 1.0.6-1.1, 1.0.8-1.1, 1.0.8-1.3

      Version impact unknown

      dsa · rubygem-http-cookie · opensuse · tumbleweed

Observed:

References