ADVISORIES

Vulnerability

CVE-2021-3281

In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with absolute paths or relative paths with dot segments.

16 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • ALPINE-CVE-2021-3281

    In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with…

    CVE-2021-3281 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2021-3281
    CVE-2021-3281 Alpine Updated 18 November 2026
  • DEBIAN-CVE-2021-3281

    In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with…

    CVE-2021-3281 Debian Updated 23 October 2026
  • DLA-2540-1

    python-django - security update

    CVE-2021-3281 Debian Updated 20 November 2026
  • DLA-3164-1

    python-django - security update

    CVE-2020-24583CVE-2020-24584CVE-2021-23336CVE-2021-3281 Debian Updated 20 November 2026
  • GHSA-fvgf-6h6h-3322

    Django Directory Traversal via archive.extract

    Moderate CVE-2021-3281 PyPI Updated 20 September 2024
  • PYSEC-2021-9

    In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with…

    CVE-2021-3281 PyPI Updated 6 December 2023
  • RHSA-2021:0781

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 1.2.2 security and bug fix update

    CVE-2020-15366CVE-2020-7789CVE-2021-20270CVE-2021-23980 Red Hat Updated 23 November 2026
  • RHSA-2021:3490

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.2 (python-django20) security update

    CVE-2021-3281CVE-2021-33203CVE-2021-33571 Red Hat Updated 13 November 2026
  • RHSA-2021:5070

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.1 (python-django20) security update

    CVE-2021-28658CVE-2021-31542CVE-2021-3281CVE-2021-33203 Red Hat Updated 13 November 2026
  • SUSE-RU-2021:0351-1

    Recommended update for ardana-horizon, ardana-logging, ardana-monasca, ardana-mq, ardana-osconfig, crowbar-ha, crowbar-openstack, kibana, openstack-neutron, openstack-nova, python-Django,…

    CVE-2016-8611CVE-2020-10743CVE-2021-3281 SUSE Updated 4 February 2026
  • SUSE-RU-2021:0497-1

    Recommended update for ardana-db, ardana-horizon, ardana-logging, ardana-monasca, ardana-opsconsole-ui, ardana-osconfig, crowbar-core, crowbar-openstack, kibana, openstack-dashboard, openstack-manila, openstack-neutron,…

    CVE-2021-3281 SUSE Updated 4 February 2026
  • SUSE-SU-2021:1963-1

    Security update for crowbar-openstack, grafana, kibana, monasca-installer, python-Django, python-py, rubygem-activerecord-session_store

    CVE-2017-11481CVE-2017-11499CVE-2019-25025CVE-2020-29651 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2021-3281

    In Django 2.2 before 2.2.18, 3.0 before 3.0.12, and 3.1 before 3.1.6, the django.utils.archive.extract method (used by "startapp --template" and "startproject --template") allows directory traversal via an archive with…

    CVE-2021-3281 Ubuntu Updated 4 February 2026
  • USN-4715-1

    python-django vulnerability

    CVE-2021-3281 Ubuntu Updated 10 February 2026
  • USN-4715-2

    python-django vulnerability

    CVE-2021-3281 Ubuntu Updated 10 February 2026

References