Skip to content

← Public intelligence

PyPI package

django

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

161 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.9PyPIPublished

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

    CVE-2026-15830 · GHSA-q238-5cxm-5c9h

    Affected
    • PyPI django < 5.2.17; >= 6.0a1, < 6.0.8; >= 6.1a1, < 6.1.1
    Fixed in
    6.0.85.2.176.1.1· Vendor fix available
    Issue
    An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. GeoDjango's django.contrib.gis.geos.GEOSGeometry is subject to a potential denial-of-service when parsing deeply nested GEOMETRYCOLLECTION objects supplied as well-known text (WKT), well-known binary (WKB), or hex-encoded WKB, which triggers unbounded recursion and a segmentation fault in the underlying GEOS library. Spatial field lookups and the django.contrib.gis.forms.GeometryField form field are also affected. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Andrew MacPherson and kimchunbok for reporting this issue.

    Recommended action: Upgrade to 6.1.1, 6.0.8 or 5.2.17 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. High, CVSS 8.7PyPIPublished

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

    CVE-2026-15307 · GHSA-wvqv-fj8w-qmhm

    Affected
    • PyPI django < 5.2.17; >= 6.0a1, < 6.0.8
    Fixed in
    6.0.85.2.17· Vendor fix available
    Issue
    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 lookup against a GeometryField or RasterField reaches this constructor, including untrusted input, for example a spatial-field filter submitted through the Django admin changelist query string by a staff user with view permission. A dict, or a str holding its JSON representation, is opened in write mode regardless of the constructor's write=False default, allowing a file with an attacker-chosen name and contents to be written through a file-backed GDAL driver. Any other str is treated as a datasource, allowing an outbound network request through a GDAL virtual filesystem handler. Writing a file to a location later imported by the application can result in remote code execution. Earlier, unsupported Django series (such as 5.1.x,…

    Recommended action: Upgrade to 6.0.8 or 5.2.17 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Medium, CVSS 5.3PyPIAmendedPublished

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

    CVE-2026-53878 · GHSA-8qcx-xf44-272x

    Affected
    • PyPI django < 5.2.16; >= 6.0.0, < 6.0.7
    Fixed in
    5.2.166.0.7· Vendor fix available
    Issue
    An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. DomainNameValidator does not prohibit newlines in domain names (unless used via a form field, since CharField strips newlines). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because HttpResponse prohibits newlines in HTTP headers. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Bence Nagy for reporting this issue.

    Recommended action: Upgrade to 6.0.7 or 5.2.16 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. Medium, CVSS 6.3PyPIAmendedPublished

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

    CVE-2026-53877 · GHSA-crhf-3pfg-w68w

    Affected
    • PyPI django < 5.2.16; >= 6.0.0, < 6.0.7
    Fixed in
    5.2.166.0.7· Vendor fix available
    Issue
    An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. django.contrib.gis.gdal.GDALRaster over-reads its in-memory buffer when constructed from a bytes object, which can disclose adjacent memory or cause service degradation via a potential segmentation fault when the vsibuffer property is accessed. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Bence Nagy for reporting this issue.

    Recommended action: Upgrade to 6.0.7 or 5.2.16 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. Low, CVSS 2.3PyPIAmendedPublished

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

    CVE-2026-48588 · GHSA-3h9f-r86x-qvjx

    Affected
    • PyPI django < 5.2.16; >= 6.0.0, < 6.0.7
    Fixed in
    5.2.166.0.7· Vendor fix available
    Issue
    An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. UpdateCacheMiddleware and the cachepage() decorator cache responses that vary on cookies when the incoming request carries unrelated cookies, which allows remote attackers to read private data from the shared cache. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Chris Whyland for reporting this issue.

    Recommended action: Upgrade to 6.0.7 or 5.2.16 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  6. Low, CVSS 2.3PyPIAmendedPublished

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

    CVE-2026-48587 · GHSA-923m-gv2p-w5qp

    Affected
    • PyPI django < 5.2.15; >= 6.0.0, < 6.0.6
    Fixed in
    5.2.156.0.6· Vendor fix available
    Issue
    An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6. django.utils.cache.hasvaryheader() in Django does not strip leading or trailing whitespace from Vary response header values before comparison, which allows remote attackers to read cached responses via requests to URLs whose responses contain whitespace-padded Vary header values. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Navid Rezazadeh for reporting this issue.

    Recommended action: Upgrade to 6.0.6 or 5.2.15 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. Low, CVSS 2.3PyPIAmendedPublished

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

    CVE-2026-8404 · GHSA-8cjm-8mp7-r2xf

    Affected
    • PyPI django < 5.2.15; >= 6.0.0, < 6.0.6
    Fixed in
    5.2.156.0.6· Vendor fix available
    Issue
    An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6. django.middleware.cache.UpdateCacheMiddleware in Django does not match Cache-Control response directives case-insensitively, which allows remote attackers to read responses that were incorrectly cached because their Cache-Control directives used uppercase or mixed-case values. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Ahmed Badawe for reporting this issue.

    Recommended action: Upgrade to 6.0.6 or 5.2.15 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. Low, CVSS 2.3PyPIAmendedPublished

    Django: signed cookies are vulnerable to salt namespace collisions

    CVE-2026-6873 · GHSA-h7pc-vwp9-298g

    Affected
    • PyPI django < 5.2.15; >= 6.0.0, < 6.0.6
    Fixed in
    5.2.156.0.6· Vendor fix available
    Issue
    An issue was discovered in Django 6.0 before 6.0.6 and 5.2 before 5.2.15. django.http.HttpRequest.getsignedcookie in Django uses a non-injective salt derivation (concatenating the cookie name and salt argument), which allows a remote attacker to use a cookie in a context different from the one where it was signed, via distinct (name, salt) pairs that produce the same concatenation. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Peng Zhou for reporting this issue.

    Recommended action: Upgrade to 6.0.6 or 5.2.15 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. Low, CVSS 2.3PyPIAmendedPublished

    Django fails to prevent reuse of a partially-initialized connection after a failed STARTTLS handshake

    CVE-2026-7666 · GHSA-mm6v-q8q9-pgcf

    Affected
    • PyPI django >= 5.2, < 5.2.15; >= 6.0, < 6.0.6
    Fixed in
    5.2.156.0.6· Vendor fix available
    Issue
    An issue was discovered in Django 6.0 before 6.0.6 and 5.2 before 5.2.15. django.core.mail.backends.smtp.EmailBackend in Django fails to prevent reuse of a partially-initialized connection after a failed STARTTLS handshake when failsilently=True, which allows on-path network attackers to read email content via cleartext interception. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Kasper Dupont for reporting this issue.

    Recommended action: Upgrade to 6.0.6 or 5.2.15 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  10. Low, CVSS 2.3PyPIAmendedPublished

    Django: UpdateCacheMiddleware may disclose private cached responses by omitting Authorization from Vary

    CVE-2026-35193 · GHSA-qpc8-7fxc-cm4p

    Affected
    • PyPI django >= 5.2.0, < 5.2.15; >= 6.0.0, < 6.0.6
    Fixed in
    5.2.156.0.6· Vendor fix available
    Issue
    An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6. django.middleware.cache.UpdateCacheMiddleware in Django does not add Authorization to the Vary response header for requests bearing that header without Cache-Control: public, which allows remote attackers to read private cached responses via unauthenticated requests to the same URL. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Shai Berger for reporting this issue.

    Recommended action: Upgrade to 6.0.6 or 5.2.15 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  11. Low, CVSS 2.3PyPIAmendedPublished

    Django Uses Cache Containing Sensitive Information

    CVE-2026-6907 · GHSA-5hrc-gvxj-w55p

    Affected
    • PyPI django >= 6.0, < 6.0.5; >= 5.2, < 5.2.14
    Fixed in
    5.2.146.0.5· Vendor fix available
    Issue
    An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14. django.middleware.cache.UpdateCacheMiddleware erroneously caches requests where the Vary header contained an asterisk (''). This can lead to private data being stored and served. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django thanks Ahmad Sadeddin for reporting this issue.

    Recommended action: Upgrade to 6.0.5 or 5.2.14 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  12. Medium, CVSS 6.3PyPIAmendedPublished

    Django has an Improper Handling of Length Parameter Inconsistency

    CVE-2026-5766 · GHSA-w26r-rmm8-9c29

    Affected
    • PyPI django >= 6.0, < 6.0.5; >= 5.2, < 5.2.14
    Fixed in
    5.2.146.0.5· Vendor fix available
    Issue
    An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14. ASGI requests with a missing or understated Content-Length header can bypass the FILEUPLOADMAXMEMORYSIZE limit, potentially loading large files into memory and causing service degradation. As a reminder, Django expects a limit to be configured at the web server level rather than solely relying on FILEUPLOADMAXMEMORYSIZE. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django thanks Kyle Agronick for reporting this issue.

    Recommended action: Upgrade to 6.0.5 or 5.2.14 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  13. Low, CVSS 2.3PyPIAmendedPublished

    Django Uses Persistent Cookies Containing Sensitive Information

    CVE-2026-35192 · GHSA-7h2m-m8vj-598h

    Affected
    • PyPI django >= 6.0, < 6.0.5; >= 5.2, < 5.2.14
    Fixed in
    5.2.146.0.5· Vendor fix available
    Issue
    An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14. Response headers do not vary on cookies if a session is not modified, but SESSIONSAVEEVERYREQUEST is True. A remote attacker can steal a user's session after that user visits a cached public page. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django thanks Cantina for reporting this issue.

    Recommended action: Upgrade to 6.0.5 or 5.2.14 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  14. Low, CVSS 2.7PyPIAmendedPublished

    Django vulnerable to privilege abuse in ModelAdmin.list_editable

    CVE-2026-4292 · GHSA-mmwr-2jhp-mc7j

    Affected
    • PyPI django >= 6.0, < 6.0.4; >= 5.2, < 5.2.13; >= 4.2, < 4.2.30
    Fixed in
    5.2.134.2.306.0.4· Vendor fix available
    Issue
    An issue was discovered in 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30. Admin changelist forms using ModelAdmin.listeditable incorrectly allowed new instances to be created via forged POST data. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Cantina for reporting this issue.

    Recommended action: Upgrade to 6.0.4, 5.2.13 or 4.2.30 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  15. High, CVSS 7.5PyPIAmendedPublished

    Django vulnerable to ASGI header spoofing via underscore/hyphen conflation

    CVE-2026-3902 · GHSA-mvfq-ggxm-9mc5

    Affected
    • PyPI django >= 6.0, < 6.0.4; >= 5.2, < 5.2.13; >= 4.2, < 4.2.30
    Fixed in
    5.2.134.2.306.0.4· Vendor fix available
    Issue
    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 underscores. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Tarek Nakkouch for reporting this issue.

    Recommended action: Upgrade to 6.0.4, 5.2.13 or 4.2.30 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  16. Low, CVSS 2.3PyPIAmendedPublished

    Django vulnerable to privilege abuse in GenericInlineModelAdmin

    CVE-2026-4277 · GHSA-pwjp-ccjc-ghwg

    Affected
    • PyPI django >= 6.0, < 6.0.4; >= 5.2, < 5.2.13; >= 4.2, < 4.2.30
    Fixed in
    5.2.134.2.306.0.4· Vendor fix available
    Issue
    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.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank N05ec@LZU-DSLab for reporting this issue.

    Recommended action: Upgrade to 6.0.4, 5.2.13 or 4.2.30 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  17. High, CVSS 7.5PyPIAmendedPublished

    Django: SGI requests with a missing or understated Content-Length header could bypass the DATA_UPLOAD_MAX_MEMORY_SIZE limit

    CVE-2026-33034 · GHSA-933h-hp56-hf7m

    Affected
    • PyPI django >= 6.0, < 6.0.4; >= 5.2, < 5.2.13; >= 4.2, < 4.2.30
    Fixed in
    5.2.134.2.306.0.4· Vendor fix available
    Issue
    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 DATAUPLOADMAXMEMORYSIZE limit when reading HttpRequest.body, allowing remote attackers to load an unbounded request body into memory. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Superior for reporting this issue.

    Recommended action: Upgrade to 6.0.4, 5.2.13 or 4.2.30 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  18. Medium, CVSS 6.5PyPIAmendedPublished

    Django has potential DoS via MultiPartParser through crafted multipart uploads

    CVE-2026-33033 · GHSA-5mf9-h53q-7mhq

    Affected
    • PyPI django >= 6.0, < 6.0.4; >= 5.2, < 5.2.13; >= 4.2, < 4.2.30
    Fixed in
    5.2.134.2.306.0.4· Vendor fix available
    Issue
    An issue was discovered in 6.0 before 6.0.4, 5.2 before 5.2.13, and 4.2 before 4.2.30. MultiPartParser allows remote attackers to degrade performance by submitting multipart uploads with Content-Transfer-Encoding: base64 including excessive whitespace. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Seokchan Yoon for reporting this issue.

    Recommended action: Upgrade to 6.0.4, 5.2.13 or 4.2.30 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  19. High, CVSS 7.5PyPIAmendedPublished

    Django vulnerable to Uncontrolled Resource Consumption

    CVE-2026-25673 · GHSA-8p8v-wh79-9r56

    Affected
    • PyPI django >= 6.0, < 6.0.3; >= 5.2, < 5.2.12; >= 4.2, < 4.2.29
    Fixed in
    6.0.35.2.124.2.29· Vendor fix available
    Issue
    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.topython() in Django calls urllib.parse.urlsplit(), which performs NFKC normalization on Windows that is disproportionately slow for certain Unicode characters, allowing a remote attacker to cause denial of service via large URL inputs containing these characters. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Seokchan Yoon for reporting this issue.

    Recommended action: Upgrade to 6.0.3, 5.2.12 or 4.2.29 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  20. Low, CVSS 3.7PyPIAmendedPublished

    Django has a Race Condition vulnerability

    CVE-2026-25674 · GHSA-mjgh-79qc-68w3

    Affected
    • PyPI django >= 6.0, < 6.0.3; >= 5.2, < 5.2.12; >= 4.2, < 4.2.29
    Fixed in
    6.0.35.2.124.2.29· Vendor fix available
    Issue
    An issue was discovered in 6.0 before 6.0.3, 5.2 before 5.2.12, and 4.2 before 4.2.29. Race condition in file-system storage and file-based cache backends in Django allows an attacker to cause file system objects to be created with incorrect permissions via concurrent requests, where one thread's temporary umask change affects other threads in multi-threaded environments. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Tarek Nakkouch for reporting this issue.

    Recommended action: Upgrade to 6.0.3, 5.2.12 or 4.2.29 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  21. High, CVSS 8.1PyPIAmendedPublished

    Django has an SQL Injection issue

    CVE-2026-1287 · GHSA-gvg8-93h5-g6qq

    Affected
    • PyPI django >= 6.0a1, < 6.0.2; >= 5.2a1, < 5.2.11; >= 4.2a1, < 4.2.28
    Fixed in
    5.2.114.2.286.0.2· Vendor fix available
    Issue
    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 passed to QuerySet methods annotate(), aggregate(), extra(), values(), valueslist(), and alias(). Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Solomon Kebede for reporting this issue.

    Recommended action: Upgrade to 6.0.2, 5.2.11 or 4.2.28 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  22. Medium, CVSS 5.4PyPIAmendedPublished

    Django has an SQL Injection issue

    CVE-2026-1312 · GHSA-6426-9fv3-65x8

    Affected
    • PyPI django >= 6.0a1, < 6.0.2; >= 5.2a1, < 5.2.11; >= 4.2a1, < 4.2.28
    Fixed in
    5.2.114.2.286.0.2· Vendor fix available
    Issue
    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.orderby() is subject to SQL injection in column aliases containing periods when the same alias is, using a suitably crafted dictionary, with dictionary expansion, used in FilteredRelation. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Solomon Kebede for reporting this issue.

    Recommended action: Upgrade to 6.0.2, 5.2.11 or 4.2.28 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  23. High, CVSS 8.1PyPIAmendedPublished

    Django has an SQL Injection issue

    CVE-2026-1207 · GHSA-mwm9-4648-f68q

    Affected
    • PyPI django >= 6.0a1, < 6.0.2; >= 5.2a1, < 5.2.11; >= 4.2a1, < 4.2.28
    Fixed in
    5.2.114.2.286.0.2· Vendor fix available
    Issue
    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 as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Tarek Nakkouch for reporting this issue.

    Recommended action: Upgrade to 6.0.2, 5.2.11 or 4.2.28 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  24. Low, CVSS 2.7PyPIAmendedPublished

    Django has Inefficient Algorithmic Complexity

    CVE-2026-1285 · GHSA-4rrr-2h4v-f3j9

    Affected
    • PyPI django >= 6.0a1, < 6.0.2; >= 5.2a1, < 5.2.11; >= 4.2a1, < 4.2.28
    Fixed in
    5.2.114.2.286.0.2· Vendor fix available
    Issue
    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 truncatecharshtml and truncatewordshtml template filters allow a remote attacker to cause a potential denial-of-service via crafted inputs containing a large number of unmatched HTML end tags. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Seokchan Yoon for reporting this issue.

    Recommended action: Upgrade to 6.0.2, 5.2.11 or 4.2.28 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  25. Low, CVSS 2.7PyPIAmendedPublished

    Django has Observable Timing Discrepancy

    CVE-2025-13473 · GHSA-2mcm-79hx-8fxw

    Affected
    • PyPI django >= 6.0a1, < 6.0.2; >= 5.2a1, < 5.2.11; >= 4.2a1, < 4.2.28
    Fixed in
    5.2.114.2.286.0.2· Vendor fix available
    Issue
    An issue was discovered in 6.0 before 6.0.2, 5.2 before 5.2.11, and 4.2 before 4.2.28. The django.contrib.auth.handlers.modwsgi.checkpassword() function for authentication via modwsgi allows remote attackers to enumerate users via a timing attack. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Stackered for reporting this issue.

    Recommended action: Upgrade to 6.0.2, 5.2.11 or 4.2.28 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →