Django releases fixes for seven flaws, including a high-severity remote code execution bug
Compiled by RedTeamDaily · AI-assisted summaries · Human review pending
Published
What happened
The developers of Django, a popular tool for building websites, have released updates fixing seven security problems. One serious flaw could let an attacker write files to a server and possibly take control of it, though in most setups this needs a staff or admin login first.
Like I’m new · Written by AI from 1 source · Report an error
In depth
Django released security updates covering seven vulnerabilities, two of them rated high severity. The main concern is CVE-2026-124827, which affects RasterField, a component for geospatial raster data used with PostGIS. Under certain conditions, attackers could write files to locations of their choosing on the server, potentially enabling remote code execution. Security researcher Mohammed Fathy of Robusta Technology Group named the issue Django4Shell.
Exploitation usually requires access to a staff or administrator account, according to Snyk, and whether a file write leads to code execution depends on the application's filesystem permissions. Before the update, registering a model with a RasterField in Django's administrative interface could make the field accessible through forms by default. Django has since made RasterField non-editable by default, which may require some applications to be modified and tested.
The update does not fully close all risk. Django warned that accepting untrusted input through RasterField could still expose applications to server-side request forgery. Previous Django fixes in August and October did not cover this model field. Snyk warned that unsupported Django versions, which the advisory does not cover, should be treated as potentially vulnerable if the conditions are present.
Key points
- CVE-2026-132092 could allow SQL injection under certain conditions and is rated critical at CVSS 4.0 score 9.3 by Snyk.
- Django's RasterField fix does not prevent server-side request forgery when untrusted raster data is accepted.
- Snyk said it was unaware of any reported exploitation of the remote code execution flaw.
Q&A
- Is this vulnerability being actively exploited?
- Snyk said it was unaware of any reported exploitation of the remote code execution flaw. The articles do not report confirmed attacks.
- Who is at risk from the RasterField flaw?
- Applications that expose RasterField through editable forms, including the Django administrative interface, or through writable model serializers may be affected. Most deployments would require a staff or administrator account to exploit it.
djangorasterfieldgeodjangoremote code executioncve-2026-124827web framework securitypostgisserver-side request forgery
- Story priority
- Critical
- Highest CVSS
- 9.3
- Exploitation
- Not established here
- Publishers
- 1
Why these vulnerabilities are attached
- CVE-2026-124827 · primary subject
Imported association; relationship review not recorded
Relationship review not recorded.
- CVE-2026-132092 · primary subject
Imported association; relationship review not recorded
Relationship 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
Sources and editorial review
Priority basis: Automatic priority from linked CVSS scores and CISA KEV status.
Human review pending.
- 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
What to do
- Compare your installed products and versions with the affected ranges linked above. Open your watchlist
- CVE-2026-132092: recorded fixed releases include Djangoproject Django · 5.2.x 5.2.20; Djangoproject Django · 6.0.x 6.0.11; Djangoproject Django · 6.1.x 6.1.4. Verify the appropriate fix for your release branch in the vendor advisory before updating.
- CVE-2026-124827: recorded fixed releases include Djangoproject Django · 5.2.x 5.2.20; Djangoproject Django · 6.0.x 6.0.11; Djangoproject Django · 6.1.x 6.1.4. Verify the appropriate fix for your release branch in the vendor advisory before updating.
Based on linked advisory evidence. Confirm applicability with the vendor.
Source timeline (UTC) · 3 updates
1 published report from 1 publisher. Independent confirmations are unverified.
Evidence links · Djangoproject Django · 5.2.x · Djangoproject Django · 5.2.x
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 questionWho and what is in it
Companies