Django4Shell flaw in GeoDjango prompts urgent upgrade to Django 6.1.4, 6.0.11 and 5.2.20
Compiled by RedTeamDaily · AI-assisted summaries · Human review not recorded for this version
Published · Updated
What happened
Django released 6.1.4, 6.0.11 and 5.2.20 for seven vulnerabilities. For CVE-2026-124827, check PostGIS applications that accept untrusted values in a GeoDjango RasterField. Django
Evidence checked through .
Why it matters
The other fixes cover HTML truncation in CVE-2026-115868, two admin disclosure paths in CVE-2026-119642 and CVE-2026-127929, GIS serialization in CVE-2026-132809 and SQL lookup validation in CVE-2026-132092. Django
Who is affected
Django identifies its 6.1, 6.0 and 5.2 supported release branches and the main development branch. Upgrade each installed branch to its corresponding patched release. Django
Before the update, PostGIS applications could expose a RasterField through Django admin forms, model forms or writable serializers. Review where your application accepts raster definitions from users. Django Software Foundation CNA
Defensive response
The update makes RasterField non-editable by default and limits file writes from raster definitions that request other drivers. Validate untrusted raster input separately because server-side request risks remain. Django
For CVE-2026-125673, clear potentially affected caches after the upgrade because earlier cache entries persist. Django
Evidence sources (2)
- Django · Affected supported branches, patches and release announcement ·
- Django Software Foundation CNA · Affected and corrected releases for CVE-2026-124827 ·
django4shellcve-2026-124827geodjangodjango security updaterasterfieldgdalpostgisweb framework vulnerability
Corrected
2 December: Added the Django announcement, all seven CVEs, supported branches and the RasterField deployment conditions. All corrections
- Story priority
- High
- Highest CVSS
- 9.3
- Exploitation
- Not established here
- Publishers
- 2
Why these vulnerabilities are attached
- CVE-2026-115868 · primary subject
CVE named in the checked primary advisory
Relationship evidenceRelationship review not recorded.
- CVE-2026-119642 · primary subject
CVE named in the checked primary advisory
Relationship evidenceRelationship review not recorded.
- CVE-2026-124827 · primary subject
CVE named in the checked primary advisory
Relationship evidenceRelationship review not recorded.
- CVE-2026-125673 · primary subject
CVE named in the checked primary advisory
Relationship evidenceRelationship review not recorded.
- CVE-2026-127929 · primary subject
CVE named in the checked primary advisory
Relationship evidenceRelationship review not recorded.
- CVE-2026-132092 · primary subject
CVE named in the checked primary advisory
Relationship evidenceRelationship review not recorded.
- CVE-2026-132809 · primary subject
CVE named in the checked primary advisory
Relationship evidenceRelationship review not recorded.
Affected products and technical context
Check the product, release branch and deployment conditions in the advisory for your installation.
CVE-2026-132092 · CVSS 9.3
An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. The `range` and `in` lookups are subject to SQL injection in a query involving aliases or key transforms containing percent signs. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were n
Exploitation: Not established by our CVE data. This does not establish that attacks have not occurred.
Affected products: Djangoproject Django Check affected version ranges.
Fixed releases
- Djangoproject Django · 5.2.x · 5.2.20 · Fix source
- Djangoproject Django · 6.0.x · 6.0.11 · Fix source
- Djangoproject Django · 6.1.x · 6.1.4 · Fix source
Choose the fix for your release branch. CVE record · NVD record
CVE-2026-124827 · CVSS 8.7
An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. `django.contrib.gis.db.models.RasterField` allows the creation of files at attacker-controlled locations via the `name` parameter of a data definition. Depending on the raster driver, this could enable remo
Exploitation: Not established by our CVE data. This does not establish that attacks have not occurred.
Affected products: Djangoproject Django Check affected version ranges.
Fixed releases
- Djangoproject Django · 5.2.x · 5.2.20 · Fix source
- Djangoproject Django · 6.0.x · 6.0.11 · Fix source
- Djangoproject Django · 6.1.x · 6.1.4 · Fix source
Choose the fix for your release branch. CVE record · NVD record
CVE-2026-132809 · CVSS 6.9
An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. `django.contrib.gis.gdal.OGRGeometry.wkb` allocates an undersized buffer for geometries larger than 4GB on 64-bit platforms, which can cause service degradation when GDAL subsequently writes to it. Earlier
Exploitation: Not established by our CVE data. This does not establish that attacks have not occurred.
Affected products: Djangoproject Django Check affected version ranges.
Fixed releases
- Djangoproject Django · 5.2.x · 5.2.20 · Fix source
- Djangoproject Django · 6.0.x · 6.0.11 · Fix source
- Djangoproject Django · 6.1.x · 6.1.4 · Fix source
Choose the fix for your release branch. CVE record · NVD record
CVE-2026-125673 · CVSS 6.3
An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. `django.middleware.cache.UpdateCacheMiddleware` and `django.views.decorators.cache.cache_page()` are affected by a bug in `django.http.HttpRequest.build_absolute_uri()`, which incorrectly normalizes reques
Exploitation: Not established by our CVE data. This does not establish that attacks have not occurred.
Affected products: Djangoproject Django Check affected version ranges.
Fixed releases
- Djangoproject Django · 5.2.x · 5.2.20 · Fix source
- Djangoproject Django · 6.0.x · 6.0.11 · Fix source
- Djangoproject Django · 6.1.x · 6.1.4 · Fix source
Choose the fix for your release branch. CVE record · NVD record
CVE-2026-115868 · CVSS 5.1
An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. The `truncatechars_html` template filter and the `django.utils.text.Truncator.chars()` method (with `html=True`) are subject to a potential cross-site scripting (XSS) attack when certain inputs whose text l
Exploitation: Not established by our CVE data. This does not establish that attacks have not occurred.
Affected products: Djangoproject Django Check affected version ranges.
Fixed releases
- Djangoproject Django · 5.2.x · 5.2.20 · Fix source
- Djangoproject Django · 6.0.x · 6.0.11 · Fix source
- Djangoproject Django · 6.1.x · 6.1.4 · Fix source
Choose the fix for your release branch. CVE record · NVD record
CVE-2026-119642 · CVSS 5.1
An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. The admin changelist allows staff users with view permission on a registered model with a custom `OneToOneField` primary key to enumerate related model data via repeated lookup searches using the "pk" alias
Exploitation: Not established by our CVE data. This does not establish that attacks have not occurred.
Affected products: Not yet available in our structured data. Check affected version ranges.
Fixed releases · Consult the linked advisory for the current release information.
Choose the fix for your release branch. CVE record · NVD record
CVE-2026-127929 · CVSS 5.1
An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. The admin changelist allows staff users with view permission on a registered model to enumerate model values via repeated lookup searches using crafted query strings that reference reverse relations. Exploi
Exploitation: Not established by our CVE data. This does not establish that attacks have not occurred.
Affected products: Not yet available in our structured data. Check affected version ranges.
Fixed releases · Consult the linked advisory for the current release information.
Choose the fix for your release branch. CVE record · NVD record
Sources and editorial review
Priority basis: Automatic priority from linked CVSS scores and CISA KEV status.
No named human review has been recorded for this story.
- Django · Vendor advisory
- Django Software Foundation CNA · Vendor advisory
- Djangoproject Django · 5.2.x · Fixed release evidence
- Djangoproject Django · 5.2.x · Fixed release evidence
How severity and exploitation labels work · All sources · Report an error
Source timeline (UTC) · 9 updates
2 published reports from 2 publishers. Independent confirmations are unverified.
Evidence links · Django · Django Software Foundation CNA · Djangoproject Django · 5.2.x · Djangoproject Django · 5.2.x · Djangoproject Django · 5.2.x · Djangoproject Django · 5.2.x
- Wed 2 DecemberNew Django4Shell Vulnerability Enables Django RCE via GeoDjango Form ValidationThe Hacker News
- CVE-2026-115868 published, CVSS 5.1NVD
- CVE-2026-119642 published, CVSS 5.1NVD
- CVE-2026-124827 published, CVSS 8.7NVD
- CVE-2026-125673 published, CVSS 6.3NVD
- CVE-2026-127929 published, CVSS 5.1NVD
- CVE-2026-132092 published, CVSS 9.3NVD
- CVE-2026-132809 published, CVSS 6.9NVD
- Django4Shell High-Severity Flaw Could Let Hackers Execute Malicious Code on Web ServersCyber Security News
Explore this report
Check my watchlist Requires sign-in · matches your saved products without AI.
Ask AI about this story
Optional follow-up answers generated from our coverage. Check the linked sources before acting.
Ask your own question