PyPI package

Django vulnerabilities by version

The latest release, 6.1.2 (Oct 6, 2026), has no known vulnerabilities. 4 of the 10 most recent releases have known vulnerabilities. OSV.dev lists 162 advisories for Django; the newest was published on Aug 4, 2026.

PyPI (opens in a new tab) describes it as “A high-level Python web framework that encourages rapid development and clean, pragmatic design.”

Latest release
6.1.2
Oct 6, 2026, no known vulnerabilities
Downloads last week
10.8M
All versions, from pypistats.org
Advisories on OSV.dev
162
Newest Aug 4, 2026
Licence
BSD-3-Clause
OpenSSF Scorecard
6.7/10
django/django (opens in a new tab)

Recent releases

PyPI doesn’t publish downloads per version, so these are the newest releases, each checked against OSV.dev. Open a version for its advisories and what to upgrade to.

VersionKnown vulnerabilities
5.2.18Oct 6, 2026No known vulnerabilities
6.0.9Oct 6, 2026No known vulnerabilities
6.1.2latestOct 6, 2026No known vulnerabilities
6.1.1Sep 2, 2026No known vulnerabilities
6.1.0Aug 5, 20261 known vulnerability, worst rated warning
5.2.17Aug 4, 2026No known vulnerabilities
6.0.8Aug 4, 2026No known vulnerabilities
5.2.16Jul 7, 20262 known vulnerabilities, worst rated critical
6.0.7Jul 7, 20262 known vulnerabilities, worst rated critical
5.2.15Jun 3, 20265 known vulnerabilities, worst rated critical

Release lines

Support dates from endoflife.date (opens in a new tab). A line past its end date gets no more security fixes.

LineLatestSecurity support
6.16.1.2Until Dec 31, 2027
6.06.0.9Until Apr 30, 2027
5.2LTS5.2.18Until Apr 30, 2028
5.15.1.15Ended Dec 3, 2025
5.05.0.14Ended Apr 2, 2025
4.2LTS4.2.30Ended Apr 7, 2026

Newest advisories

The 5 most recently published, with the versions each one affects.

  1. WarningCVE-2026-15830 on OSV.dev (opens in a new tab)GHSA-q238-5cxm-5c9h

    Django GeoDjango vulnerable to denial of service through deeply nested geometry collections

    Affects < 5.2.17; >= 6.0a1, < 6.0.8; >= 6.1a1, < 6.1.1. Published Aug 4, 2026.

  2. CriticalCVE-2026-15307 on OSV.dev (opens in a new tab)GHSA-wvqv-fj8w-qmhm

    Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing

    Affects < 5.2.17; >= 6.0a1, < 6.0.8. Published Aug 4, 2026.

  3. LowCVE-2026-48588 on OSV.dev (opens in a new tab)GHSA-3h9f-r86x-qvjx

    Django: cache middleware may expose private responses when unrelated request cookies are present

    Affects < 5.2.16; >= 6.0.0, < 6.0.7. Published Jul 7, 2026.

  4. WarningCVE-2026-53878 on OSV.dev (opens in a new tab)GHSA-8qcx-xf44-272x

    Django: DomainNameValidator permits newline characters that may enable HTTP header injection

    Affects < 5.2.16; >= 6.0.0, < 6.0.7. Published Jul 7, 2026.

  5. WarningCVE-2026-53877 on OSV.dev (opens in a new tab)GHSA-crhf-3pfg-w68w

    Django: GDALRaster may over-read heap memory when constructed from bytes

    Affects < 5.2.16; >= 6.0.0, < 6.0.7. Published Jul 7, 2026.

All 162 advisories are on OSV.dev (opens in a new tab).

Which Django do you have?

Paste a public GitHub repo or drop your requirements.txt or pyproject.toml and see every vulnerable, end-of-life or deprecated dependency, with one fix task for your coding agent. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism reads every OSV.dev advisory for Django, merges duplicates filed under several ids, and asks OSV.dev which ones affect each version listed. Releases and their dates come from deps.dev, downloads from pypistats.org, support dates from endoflife.date. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against OSV.dev, CISA KEV, PyPI, pypistats.org, deps.dev and endoflife.date.