PatchSiren

djangoproject CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

MEDIUM Djangoproject CVE published 2026-08-04

CVE-2026-15830

A potential denial-of-service vulnerability was discovered in GeoDjango's `GEOSGeometry` when parsing deeply nested `GEOMETRYCOLLECTION` objects supplied as well-known text (WKT), well-known binary (WKB), or hex-encoded WKB. This issue affects Django versions 5.2 before 5.2.17 and 6.0 before 6.0.8. The vulnerability is caused by 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. The vulnerability was reported by Andrew MacPherson and kimchunbok_. Official patches are available for affected Django versions. Further verification is recommended to confirm affected scope and severity.

MEDIUM Djangoproject CVE published 2026-08-04

CVE-2026-15920

An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. `django.contrib.admin.utils.display_for_field()` renders `URLField` values as clickable links in the admin without validating the URL. A value stored with an unsafe scheme is displayed as a link on changelist and read-only admin pages, which allows cross-site scripting against staff users who click the link. Exploitation requires the unsafe value to already be stored in the database. `URLField` validation through a `ModelForm` or the admin rejects unsafe schemes, so this affects applications that persist `URLField` data without running model validation, for example through direct queryset writes, deserialization, or bulk import of untrusted input. Django would like to thank Egor Saltykov for reporting this issue. The CVE record was published on 2026-08-04T17:16:46.733Z and has not been modified since then. The NVD entry is currently Analyzed. To verify and mitigate this vulnerability, defenders should review the official Django security release notes and patches, validate URLField values before rendering them in the admin interface, and use ModelForm or admin validation to reject unsafe URL schemes.

MEDIUM djangoproject CVE published 2026-08-04

CVE-2026-15337

The CVE-2026-15337 vulnerability affects Django versions 5.2 before 5.2.17 and 6.0 before 6.0.8, potentially allowing a denial-of-service attack through the `django.utils.translation.check_for_language()` function when given many distinct, very long language codes. Organizations using Django should prioritize patching to prevent potential attacks. The vulnerability has a CVSS score of 6.9 and is classified as MEDIUM severity. The CVE record was published on 2026-08-04T17:16:46.453Z and has not been modified since then.

HIGH djangoproject CVE published 2026-08-04

CVE-2026-15307

An executive overview of CVE-2026-15307: A vulnerability was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8, affecting GeoDjango spatial lookups. The issue allows for remote code execution through file writing and outbound network requests. Staff users with view permission in Django admin can be impacted. The vulnerability has a CVSS score of 8.7 and is classified as HIGH. The CVE record was published on 2026-08-04T17:16:46.127Z and has not been modified since then.

MEDIUM djangoproject CVE published 2026-07-07

CVE-2026-53878

CVE-2026-53878 is a medium-severity vulnerability affecting Django's DomainNameValidator. The issue allows for header injection when newlines are present in domain names, potentially leading to security issues if an application uses these values in HTTP responses. This vulnerability has been patched in Django versions 6.0.7 and 5.2.16. Affected deployments should prioritize updates or mitigations to prevent potential security risks.

MEDIUM djangoproject CVE published 2026-07-07

CVE-2026-53877

An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16. The `django.contrib.gis.gdal.GDALRaster` class 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 `vsi_buffer` 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. Users of Django 6.0 before 6.0.7 and 5.2 before 5.2.16 should review and apply patches to prevent potential service degradation or adjacent memory disclosure.

LOW djangoproject CVE published 2026-07-07

CVE-2026-48588

CVE-2026-48588 is a low-severity vulnerability in Django's UpdateCacheMiddleware and cache_page() decorator. The issue allows remote attackers to read private data from the shared cache when the incoming request carries unrelated cookies. This vulnerability affects Django 6.0 before 6.0.7 and 5.2 before 5.2.16. Earlier, unsupported Django series may also be affected. The vulnerability was reported by Chris Whyland.

HIGH Djangoproject CVE published 2026-03-03

CVE-2026-25673

CVE-2026-25673 is a high-severity denial of service vulnerability affecting Django's URLField.to_python() function. The issue arises from the function's use of urllib.parse.urlsplit(), which performs NFKC normalization on Windows. This process is disproportionately slow for certain Unicode characters, allowing remote attackers to cause denial of service via large URL inputs containing these characters. The vulnerability affects Django versions 6.0 before 6.0.3, 5.2 before 5.2.12, and 4.2 before 4.2.29. Earlier, unsupported Django series, such as 5.0.x, 4.1.x, and 3.2.x, were not evaluated and may also be affected. Seokchan Yoon reported this issue to Django.