Skip to content
NewA calmer, faster ZeroHour

Django patches high-severity RasterField file-write and SQL injection flaws

Original title: Django urges immediate upgrades after discovery of high-severity RCE flaw

CSO Online ()4 min read
Part of a story covered by 5 sourcesDjango patches Django4Shell file-write flaw in three releasesMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

Supported users should move to 6.1.4, 6.0.11, or 5.2.20; Snyk says it knows of no exploitation of the file-write flaw.

Django released fixes for seven vulnerabilities, including two it rated high severity. CVE-2026-124827 can let attackers write files through RasterField and, depending on permissions, run code; researcher Mohammed Fathy named it Django4Shell. CVE-2026-132092 can allow SQL injection when range or in lookups contain percent signs. Snyk said it was unaware of exploitation of the remote code execution flaw. Upgrades do not remove server-side request forgery risk from untrusted raster input.

Unconfirmed: Snyk reports no known exploitation of the file-write flaw; whether a write becomes code execution depends on filesystem permissions.

Key facts
  • Fixed releases are Django 6.1.4, 6.0.11, and 5.2.20.
  • Snyk scored CVE-2026-132092 at 9.3 under CVSS 4.0 and said no prior privileges are required.
  • RasterField exploitation typically needs a staff or administrator account, according to Snyk.
  • Other fixes cover cache poisoning, XSS, a heap overflow, and two admin information leaks.
  • Django says caches should be cleared because the cache-poisoning fix does not invalidate old responses.
Security assessment · AI, from the articleNo known exploitation

Impact: Arbitrary file write that may lead to remote code execution

ProductAffectedFixed in
Django Software Foundation DjangoSupported series before the stated fixes; older unsupported releases potentially vulnerable6.1.4, 6.0.11, or 5.2.20
What to do
  1. 1.Upgrade supported Django installs to 6.1.4, 6.0.11, or 5.2.20.
  2. 2.Clear potentially affected caches after upgrading.
  3. 3.If file-write exploitation is found, rotate Django-process credentials and rebuild from a trusted image.
Analyze CVE-2026-124827 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-132092
+1 related CVE
SQL injection in Django range and in lookups
9.3
group max
—

From the original article

4 min read at csoonline.com

The developers of Django, an open-source Python web framework, released security updates to address seven vulnerabilities, including two rated high severity. The project warned that applications accepting untrusted raster data through an affected model field could remain vulnerable to server-side request forgery even after upgrading. Django urged users in a security advisory to upgrade to version 6.

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.