Is django 4.1 vulnerable?

PyPI · 14 releases from 4.1.0 to 4.1.13 · latest django is 6.1.3 · checked 18 Nov 2026

Yes: 13 known advisories

Yes. django 4.1.13, the last 4.1 release, is affected by 13 known security advisories (1 critical, 3 high, 5 medium, 4 low), including CVE-2025-64459, CVE-2026-15307, CVE-2025-64458. 8 more affect earlier 4.1.x releases. Upgrade to 5.2.17 or later to fix all of them.

Upgrade with:pip install 'django>=5.2.17'

Is your project on an affected django?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting django 4.1.13

  • HighCVE-2026-15307GHSA-wvqv-fj8w-qmhm4 Aug 2026

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

    Affected
    <5.2.17 · >=6.0a1 <6.0.8
    Fixed in
    5.2.17, 6.0.8
  • MediumCVE-2026-15830GHSA-q238-5cxm-5c9h4 Aug 2026

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

    Affected
    <5.2.17 · >=6.0a1 <6.0.8 · >=6.1a1 <6.1.1
    Fixed in
    5.2.17, 6.0.8, 6.1.1
  • MediumCVE-2026-53878GHSA-8qcx-xf44-272x7 Jul 2026

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

    Affected
    <5.2.16 · >=6.0.0 <6.0.7
    Fixed in
    5.2.16, 6.0.7
  • MediumCVE-2026-53877GHSA-crhf-3pfg-w68w7 Jul 2026

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

    Affected
    <5.2.16 · >=6.0.0 <6.0.7
    Fixed in
    5.2.16, 6.0.7
  • LowCVE-2026-48588GHSA-3h9f-r86x-qvjx7 Jul 2026

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

    Affected
    <5.2.16 · >=6.0.0 <6.0.7
    Fixed in
    5.2.16, 6.0.7
  • LowCVE-2026-8404GHSA-8cjm-8mp7-r2xf3 Jun 2026

    Django: UpdateCacheMiddleware may disclose cached responses due to case-sensitive Cache-Control handling

    Affected
    <5.2.15 · >=6.0.0 <6.0.6
    Fixed in
    5.2.15, 6.0.6
  • LowCVE-2026-48587GHSA-923m-gv2p-w5qp3 Jun 2026

    Django: has_vary_header may expose cached responses when Vary values contain whitespace

    Affected
    <5.2.15 · >=6.0.0 <6.0.6
    Fixed in
    5.2.15, 6.0.6
  • LowCVE-2026-6873GHSA-h7pc-vwp9-298g3 Jun 2026

    Django: signed cookies are vulnerable to salt namespace collisions

    Affected
    <5.2.15 · >=6.0.0 <6.0.6
    Fixed in
    5.2.15, 6.0.6
  • CriticalCVE-2025-64459GHSA-frmv-pr5f-9mcr5 Nov 2025

    Django vulnerable to SQL injection via _connector keyword argument in QuerySet and Q objects.

    Affected
    >=5.2a1 <5.2.8 · >=5.0a1 <5.1.14 · <4.2.26
    Fixed in
    4.2.26, 5.1.14, 5.2.8
  • HighCVE-2025-64458GHSA-qw25-v68c-qjf35 Nov 2025

    Django has a denial-of-service vulnerability in HttpResponseRedirect and HttpResponsePermanentRedirect on Windows

    Affected
    >=5.2a1 <5.2.8 · >=5.0a1 <5.1.14 · <4.2.26
    Fixed in
    4.2.26, 5.1.14, 5.2.8
  • HighCVE-2025-57833GHSA-6w2r-r2m5-xq5w8 Sept 2025

    Django is subject to SQL injection through its column aliases

    Affected
    <4.2.24 · >=5.0a1 <5.1.12 · >=5.2a1 <5.2.6
    Fixed in
    4.2.24, 5.1.12, 5.2.6
  • MediumCVE-2025-48432GHSA-7xr5-9hcq-chf95 Jun 2025

    Django Improper Output Neutralization for Logs vulnerability

    Affected
    >=5.2 <5.2.2 · >=5.0a1 <5.1.10 · <4.2.22
    Fixed in
    4.2.22, 5.1.10, 5.2.2
  • MediumCVE-2024-45231GHSA-rrqc-c2jx-6jgv8 Oct 2024

    Django allows enumeration of user e-mail addresses

    Affected
    >=5.1 <5.1.1 · >=5.0 <5.0.9 · <4.2.16
    Fixed in
    4.2.16, 5.0.9, 5.1.1

Fixed within 4.1.x, affecting earlier releases

  • HighCVE-2023-43665GHSA-h8gc-pgj2-vjm33 Nov 2023

    Django Denial-of-service in django.utils.text.Truncator

    Affected
    >=3.2a1 <3.2.22 · >=4.1a1 <4.1.12 · >=4.2a1 <4.2.6
    Fixed in
    3.2.22, 4.1.12, 4.2.6
  • MediumCVE-2023-41164GHSA-7h4p-27mh-hmrw3 Nov 2023

    Django Denial of service vulnerability in django.utils.encoding.uri_to_iri

    Affected
    >=3.2 <3.2.21 · >=4.1 <4.1.11 · >=4.2 <4.2.5
    Fixed in
    3.2.21, 4.1.11, 4.2.5
  • HighCVE-2023-46695GHSA-qmf9-6jqf-j8fq2 Nov 2023

    Django potential denial of service vulnerability in UsernameField on Windows

    Affected
    >=3.2a1 <3.2.23 · >=4.1a1 <4.1.13 · >=4.2a1 <4.2.7
    Fixed in
    3.2.23, 4.1.13, 4.2.7
  • HighCVE-2023-36053GHSA-jh3w-4vvf-mjgr3 Jul 2023

    Django has regular expression denial of service vulnerability in EmailValidator/URLValidator

    Affected
    >=3.2a1 <3.2.20 · >=4.0a1 <4.1.10 · >=4.2a1 <4.2.3
    Fixed in
    3.2.20, 4.1.10, 4.2.3
  • CriticalCVE-2023-31047GHSA-r3xc-prgr-mg9p7 May 2023

    Django bypasses validation when using one form field to upload multiple files

    Affected
    >=3.2a1 <3.2.19 · >=4.0a1 <4.1.9 · >=4.2a1 <4.2.1
    Fixed in
    3.2.19, 4.1.9, 4.2.1
  • HighCVE-2023-24580GHSA-2hrw-hx67-34x615 Feb 2023

    Resource exhaustion in Django

    Affected
    >=3.2a1 <3.2.18 · >=4.1a1 <4.1.7 · >=4.0a1 <4.0.10
    Fixed in
    3.2.18, 4.0.10, 4.1.7
  • HighCVE-2023-23969GHSA-q2jf-h9jm-m7p41 Feb 2023

    Django contains Uncontrolled Resource Consumption via cached header

    Affected
    >=3.2a1 <3.2.17 · >=4.0a1 <4.0.9 · >=4.1a1 <4.1.6
    Fixed in
    3.2.17, 4.0.9, 4.1.6
  • HighCVE-2022-41323GHSA-qrw5-5h28-6cmg16 Oct 2022

    Django denial-of-service vulnerability in internationalized URLs

    Affected
    >=3.2 <3.2.16 · >=4.0 <4.0.8 · >=4.1 <4.1.2
    Fixed in
    3.2.16, 4.0.8, 4.1.2

Every django 4.1.x release

Affected: 4.1.0 to 4.1.13. Latest django: 6.1.3.

VersionKnown advisories
django 4.1.13CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231
django 4.1.12CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-46695
django 4.1.11CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-43665, CVE-2023-46695
django 4.1.10CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-43665, CVE-2023-41164, CVE-2023-46695
django 4.1.9CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-43665, CVE-2023-41164, CVE-2023-46695, CVE-2023-36053
django 4.1.8CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-43665, CVE-2023-41164, CVE-2023-46695, CVE-2023-36053, CVE-2023-31047
django 4.1.7CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-43665, CVE-2023-41164, CVE-2023-46695, CVE-2023-36053, CVE-2023-31047
django 4.1.6CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-43665, CVE-2023-41164, CVE-2023-46695, CVE-2023-36053, CVE-2023-31047, CVE-2023-24580
django 4.1.5CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-43665, CVE-2023-41164, CVE-2023-46695, CVE-2023-36053, CVE-2023-31047, CVE-2023-24580, CVE-2023-23969
django 4.1.4CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-43665, CVE-2023-41164, CVE-2023-46695, CVE-2023-36053, CVE-2023-31047, CVE-2023-24580, CVE-2023-23969
django 4.1.3CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-43665, CVE-2023-41164, CVE-2023-46695, CVE-2023-36053, CVE-2023-31047, CVE-2023-24580, CVE-2023-23969
django 4.1.2CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-43665, CVE-2023-41164, CVE-2023-46695, CVE-2023-36053, CVE-2023-31047, CVE-2023-24580, CVE-2023-23969
django 4.1.1CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-43665, CVE-2023-41164, CVE-2023-46695, CVE-2023-36053, CVE-2023-31047, CVE-2023-24580, CVE-2023-23969, CVE-2022-41323
django 4.1.0CVE-2026-15307, CVE-2026-15830, CVE-2026-53878, CVE-2026-53877, CVE-2026-48588, CVE-2026-8404, CVE-2026-48587, CVE-2026-6873, CVE-2025-64459, CVE-2025-64458, CVE-2025-57833, CVE-2025-48432, CVE-2024-45231, CVE-2023-43665, CVE-2023-41164, CVE-2023-46695, CVE-2023-36053, CVE-2023-31047, CVE-2023-24580, CVE-2023-23969, CVE-2022-41323

Which of your client projects are still on django 4.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact django version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other django versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.