CyberSecBulletin

Django vulnerabilities

We track 41 vulnerabilities in Django products across 3 products. 41 are rated high or critical, and none are known to be exploited. The most recent was published on August 4, 2026.

41vulnerabilities
8critical
33high
0exploited
8.1average CVSS score

Latest Django vulnerabilities

  • 8.8 High severity

    Django: External Control of File Name or Path

    CVE-2026-15307DjangoEPSS 1.13%

    An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. GeoDjango spatial lookups optimistically parse the right-hand-side value as a raster by passing it to the `django.contrib.gis.gdal.GDALRaster` constructor. Any value used in a spatial lo

  • 7.5 High severity

    daphne: Allocation of Resources Without Limits or Throttling

    CVE-2026-44545Django

    daphne before 4.2.2 did not pass maxFramePayloadSize or maxMessagePayloadSize to Autobahn's WebSocketServerFactory. Because Autobahn defaults both values to 0 (unlimited), an unauthenticated remote attacker could send arbitrarily large WebSocket messages or fr

  • 9.8 Critical severity

    Django: Missing Authorization

    CVE-2026-4277Django

    An issue was discovered in 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30. Add permissions on inline model instances were not validated on submission of forged `POST` data in `GenericInlineModelAdmin`. Earlier, unsupported Django series (such as 5.

  • 7.5 High severity

    Django: Authentication Bypass by Spoofing

    CVE-2026-3902Django

    An issue was discovered in 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30. `ASGIRequest` allows a remote attacker to spoof headers by exploiting an ambiguous mapping of two header variants (with hyphens or with underscores) to a single version with

  • 7.5 High severity

    Django: Allocation of Resources Without Limits or Throttling

    CVE-2026-33034Django

    An issue was discovered in 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30. ASGI requests with a missing or understated `Content-Length` header could bypass the `DATA_UPLOAD_MAX_MEMORY_SIZE` limit when reading `HttpRequest.body`, allowing remote att

  • 7.5 High severity

    Django: Allocation of Resources Without Limits or Throttling

    CVE-2026-25673Django

    An issue was discovered in 6.0 before 6.0.3, 5.2 before 5.2.12, and 4.2 before 4.2.29. `URLField.to_python()` in Django calls `urllib.parse.urlsplit()`, which performs NFKC normalization on Windows that is disproportionately slow for certain Unicode characters

  • 8.5 High severity

    Django: Improper Neutralization of Special Elements used in an SQL Command

    CVE-2026-1312Django

    An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `.QuerySet.order_by()` is subject to SQL injection in column aliases containing periods when the same alias is, using a suitably crafted dictionary, with dictionary expansio

  • 8.3 High severity

    Django: Improper Neutralization of Special Elements used in an SQL Command

    CVE-2026-1287Django

    An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `FilteredRelation` is subject to SQL injection in column aliases via control characters, using a suitably crafted dictionary, with dictionary expansion, as the `**kwargs` pa

  • 7.5 High severity

    Django: Inefficient Algorithmic Complexity

    CVE-2026-1285DjangoEPSS 1.11%

    An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `django.utils.text.Truncator.chars()` and `Truncator.words()` methods (with `html=True`) and the `truncatechars_html` and `truncatewords_html` template filters allow a remot

  • 8.3 High severity

    Django: Improper Neutralization of Special Elements used in an SQL Command

    CVE-2026-1207DjangoEPSS 12.8%

    An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. Raster lookups on ``RasterField`` (only implemented on PostGIS) allows remote attackers to inject SQL via the band index parameter. Earlier, unsupported Django series (such

  • 7.5 High severity

    Django: Inefficient Algorithmic Complexity

    CVE-2025-14550DjangoEPSS 1.11%

    An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. `ASGIRequest` allows a remote attacker to cause a potential denial-of-service via a crafted request with multiple duplicate headers. Earlier, unsupported Django series (such

  • 7.5 High severity

    Django: Inefficient Algorithmic Complexity

    CVE-2025-64460DjangoEPSS 2.16%

    An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. Algorithmic complexity in `django.core.serializers.xml_serializer.getInnerText()` allows a remote attacker to cause a potential denial-of-service attack triggering CPU and m

  • 9.1 Critical severity

    Django: Improper Neutralization of Special Elements used in an SQL Command

    CVE-2025-64459DjangoEPSS 19.3%

    An issue was discovered in 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2 before 5.2.8. The methods `QuerySet.filter()`, `QuerySet.exclude()`, and `QuerySet.get()`, and the class `Q()`, are subject to SQL injection when using a suitably crafted dictionary, with

  • 7.5 High severity

    Django: Inefficient Algorithmic Complexity

    CVE-2025-64458DjangoEPSS 1.91%

    An issue was discovered in 5.1 before 5.1.14, 4.2 before 4.2.26, and 5.2 before 5.2.8. NFKC normalization in Python is slow on Windows. As a consequence, `django.http.HttpResponseRedirect`, `django.http.HttpResponsePermanentRedirect`, and the shortcut `django.

  • 9.8 Critical severity

    Django: Improper Neutralization of Special Elements used in an SQL Command

    CVE-2025-59681Django

    An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. QuerySet.annotate(), QuerySet.alias(), QuerySet.aggregate(), and QuerySet.extra() are subject to SQL injection in column aliases, when using a suitably crafted dictio

  • 8.1 High severity

    Django: Improper Neutralization of Special Elements used in an SQL Command

    CVE-2025-57833DjangoEPSS 28.3%

    An issue was discovered in Django 4.2 before 4.2.24, 5.1 before 5.1.12, and 5.2 before 5.2.6. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed QuerySet.annota

  • 7.5 High severity

    Django: Allocation of Resources Without Limits or Throttling

    CVE-2025-27556DjangoEPSS 1.08%

    An issue was discovered in Django 5.1 before 5.1.8 and 5.0 before 5.0.14. The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.views.LoginView, django.contrib.auth.views.LogoutView, and django.views.i18n.set_language are subject to

  • 7.5 High severity

    Django: Allocation of Resources Without Limits or Throttling

    CVE-2025-26699Django

    An issue was discovered in Django 5.1 before 5.1.7, 5.0 before 5.0.13, and 4.2 before 4.2.20. The django.utils.text.wrap() method and wordwrap template filter are subject to a potential denial-of-service attack when used with very long strings.

  • 7.5 High severity

    Django: Allocation of Resources Without Limits or Throttling

    CVE-2024-56374DjangoEPSS 1.28%

    An issue was discovered in Django 5.1 before 5.1.5, 5.0 before 5.0.11, and 4.2 before 4.2.18. Lack of upper-bound limit enforcement in strings passed when performing IPv6 validation could lead to a potential denial-of-service attack. The undocumented and priva

  • 9.8 Critical severity

    django: Improper Neutralization of Special Elements used in an SQL Command

    CVE-2024-53908DjangoEPSS 1.42%

    An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. Direct usage of the django.db.models.fields.json.HasKey lookup, when an Oracle database is used, is subject to SQL injection if untrusted data is used as an lhs value

  • 7.5 High severity

    django: Allocation of Resources Without Limits or Throttling

    CVE-2024-53907DjangoEPSS 1.39%

    An issue was discovered in Django 5.1 before 5.1.4, 5.0 before 5.0.10, and 4.2 before 4.2.17. The strip_tags() method and striptags template filter are subject to a potential denial-of-service attack via certain inputs containing large sequences of nested inco

  • 7.5 High severity

    django: Buffer Copy without Checking Size of Input

    CVE-2024-45230DjangoEPSS 25.8%

    An issue was discovered in Django 5.1 before 5.1.1, 5.0 before 5.0.9, and 4.2 before 4.2.16. The urlize() and urlizetrunc() template filters are subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters.

  • 7.3 High severity

    django: Improper Neutralization of Special Elements used in an SQL Command

    CVE-2024-42005DjangoEPSS 1.5%

    An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.

  • 7.5 High severity

    django: Improper Validation of Specified Quantity in Input

    CVE-2024-41991Django

    An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize and urlizetrunc template filters, and the AdminURLFieldWidget widget, are subject to a potential denial-of-service attack via certain inputs with a very large number of Unicod

  • 7.5 High severity

    django: Improper Handling of Length Parameter Inconsistency

    CVE-2024-41990DjangoEPSS 1.26%

    An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize() and urlizetrunc() template filters are subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters.

  • 7.5 High severity

    django: Uncontrolled Resource Consumption

    CVE-2024-41989DjangoEPSS 1.2%

    An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The floatformat template filter is subject to significant memory consumption when given a string representation of a number in scientific notation with a large exponent.

  • 7.5 High severity

    django: Improper Handling of Length Parameter Inconsistency

    CVE-2024-39614DjangoEPSS 28.6%

    An issue was discovered in Django 5.0 before 5.0.7 and 4.2 before 4.2.14. get_supported_language_variant() was subject to a potential denial-of-service attack when used with very long strings containing specific characters.

  • 7.5 High severity

    django: Improper Handling of Length Parameter Inconsistency

    CVE-2024-38875DjangoEPSS 1.19%

    An issue was discovered in Django 4.2 before 4.2.14 and 5.0 before 5.0.7. urlize and urlizetrunc were subject to a potential denial of service attack via certain inputs with a very large number of brackets.

  • 7.5 High severity

    Django: Improper Validation of Specified Quantity in Input

    CVE-2023-43665DjangoEPSS 1.46%

    In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentiall

  • 7.5 High severity

    Django: Improper Validation of Specified Quantity in Input

    CVE-2023-41164DjangoEPSS 1.52%

    In Django 3.2 before 3.2.21, 4.1 before 4.1.11, and 4.2 before 4.2.5, django.utils.encoding.uri_to_iri() is subject to a potential DoS (denial of service) attack via certain inputs with a very large number of Unicode characters.

  • 7.5 High severity

    Django: Allocation of Resources Without Limits or Throttling

    CVE-2023-46695DjangoEPSS 53.4%

    An issue was discovered in Django 3.2 before 3.2.23, 4.1 before 4.1.13, and 4.2 before 4.2.7. The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.forms.UsernameField is subject to a potential DoS (denial of service) attack via cert

  • 7.5 High severity

    debian_linux: Inefficient Regular Expression Complexity

    CVE-2023-36053DebianEPSS 2.98%

    In Django 3.2 before 3.2.20, 4 before 4.1.10, and 4.2 before 4.2.3, EmailValidator and URLValidator are subject to a potential ReDoS (regular expression denial of service) attack via a very large number of domain name labels of emails and URLs.

  • 9.8 Critical severity

    In Django 3.2 before 3.2.19, 4.x before 4.1.9, and 4.2 before 4.2.1, it was possible to bypass…

    CVE-2023-31047DjangoEPSS 1.39%

    In Django 3.2 before 3.2.19, 4.x before 4.1.9, and 4.2 before 4.2.1, it was possible to bypass validation when using one form field to upload multiple files. This multiple upload has never been supported by forms.FileField or forms.ImageField (only the last up

  • 7.5 High severity

    Django: Uncontrolled Resource Consumption

    CVE-2023-24580DjangoEPSS 62.6%

    An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0 before 4.0.10, and 4.1 before 4.1.7. Passing certain inputs (e.g., an excessive number of parts) to multipart forms could result in too many open files or memory exhaustio

  • 7.5 High severity

    Django: Allocation of Resources Without Limits or Throttling

    CVE-2023-23969DjangoEPSS 47.4%

    In Django 3.2 before 3.2.17, 4.0 before 4.0.9, and 4.1 before 4.1.6, the parsed values of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if the raw value of

  • 7.5 High severity

    Django: Inefficient Regular Expression Complexity

    CVE-2022-41323DjangoEPSS 3.75%

    In Django 3.2 before 3.2.16, 4.0 before 4.0.8, and 4.1 before 4.1.2, internationalized URLs were subject to a potential denial of service attack via the locale parameter, which is treated as a regular expression.

  • 8.8 High severity

    Django: Download of Code Without Integrity Check

    CVE-2022-36359Django

    An issue was discovered in the HTTP FileResponse class in Django 3.2 before 3.2.15 and 4.0 before 4.0.7. An application is vulnerable to a reflected file download (RFD) attack that sets the Content-Disposition header of a FileResponse when the filename is deri

  • 9.8 Critical severity

    Django: Improper Neutralization of Special Elements used in an SQL Command

    CVE-2022-34265DjangoEPSS 73.6%

    An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications that constrain the lookup name and kind choi

  • 9.8 Critical severity

    Django: Improper Neutralization of Special Elements used in an SQL Command

    CVE-2022-28347DjangoEPSS 2.94%

    A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. This occurs by passing a crafted dictionary (with dictionary expansion) as the **options argument, and placing the injection payloa

  • 9.8 Critical severity

    Django: Improper Neutralization of Special Elements used in an SQL Command

    CVE-2022-28346DjangoEPSS 18.7%

    An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passe