---
title: "Django fixes high-severity file-write and SQL injection flaws | Coding Delta"
description: "The Django project released 6.1.4, 6.0.11 and 5.2.20 with seven fixes, including a GeoDjango RasterField flaw (CVE-2026-124827) that can let attackers write files and possibly run code, and SQL injection in `range` and `in` lookups (CVE-2026-132092). The RasterField bug is a third attempt at fixing the same weakness; no exploitation has been reported."
canonical_url: "https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws"
last_updated: "2026-12-03T06:08:51+01:00"
locale: en
meta:
  "og:description": "The Django project released 6.1.4, 6.0.11 and 5.2.20 with seven fixes, including a GeoDjango RasterField flaw (CVE-2026-124827) that can let attackers write files and possibly run code, and SQL injection in `range` and `in` lookups (CVE-2026-132092). The RasterField bug is a third attempt at fixing the same weakness; no exploitation has been reported."
  "og:image": "https://codingdelta.com/og-image.png"
  "og:image:alt": "Turn your ideas into reality with Coding Delta, your boutique software development agency"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Django fixes high-severity file-write and SQL injection flaws"
  "twitter:image": "https://codingdelta.com/og-image.png"
  "twitter:image:alt": "Turn your ideas into reality with Coding Delta, your boutique software development agency"
---

> Index of every page on this site: [llms.txt](https://codingdelta.com/llms.txt)

[Software & industry · 3 December 2026](https://codingdelta.com/news)

# **Django fixes high-severity file-write and SQL injection flaws**

[How this briefing is made](https://codingdelta.com/news/about)

[Covered in edition 3 December 2026](https://codingdelta.com/news/editions/2026-12-03#item-126)

The Django project released 6.1.4, 6.0.11 and 5.2.20 with seven fixes, including a GeoDjango RasterField flaw (CVE-2026-124827) that can let attackers write files and possibly run code, and SQL injection in `range` and `in` lookups (CVE-2026-132092). The RasterField bug is a third attempt at fixing the same weakness; no exploitation has been reported.

**Why it matters:** If your web platform runs on Django, upgrade to the new patch release this week and clear caches afterwards, as one fix concerns cache poisoning.

[Source: Django Project](https://www.djangoproject.com/weblog/2026/dec/02/security-releases/) [#Vulnerabilities](https://codingdelta.com/news/topics/vulnerabilities) [#Open source](https://codingdelta.com/news/topics/open-source) [#Web development](https://codingdelta.com/news/topics/web-development)

## Also covered by

- [**The Hacker News**: New Django4Shell vulnerability enables file writes](https://thehackernews.com/2026/12/new-django4shell-vulnerability-enables.html)
- [**The Hacker News on X**](https://x.com/TheHackersNews/status/2128120317352563071)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://codingdelta.com/#website","@type":"WebSite","description":"Boutique software studio in Amsterdam for web apps, platforms, mobile apps and AI agents.","inLanguage":"en-US","name":"Coding Delta","url":"https://codingdelta.com/","publisher":{"@id":"https://codingdelta.com/#identity"},"workTranslation":{"@id":"https://codingdelta.com/nl#website"}},{"@id":"https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws#webpage","@type":"WebPage","dateModified":"2026-12-03T06:08:51+01:00","datePublished":"2026-12-03T06:08:51+01:00","description":"The Django project released 6.1.4, 6.0.11 and 5.2.20 with seven fixes, including a GeoDjango RasterField flaw (CVE-2026-124827) that can let attackers write files and possibly run code, and SQL injection in `range` and `in` lookups (CVE-2026-132092). The RasterField bug is a third attempt at fixing the same weakness; no exploitation has been reported.","name":"Django fixes high-severity file-write and SQL injection flaws","url":"https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws","breadcrumb":{"@id":"https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws#breadcrumb"},"isPartOf":{"@id":"https://codingdelta.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws"]}],"primaryImageOfPage":{"@id":"https://codingdelta.com/#logo"}},{"@id":"https://codingdelta.com/#identity","description":"Boutique software studio in Amsterdam: strategy and scoping, product design, engineering (web apps, platforms, mobile) and AI & automation.","iso6523Code":"0106:77615999","legalName":"Coding Delta B.V.","name":"Coding Delta","url":"https://codingdelta.com","@type":["Organization","LocalBusiness","ProfessionalService"],"address":{"@type":"PostalAddress","streetAddress":"Keizersgracht 241","postalCode":"1016 EA","addressLocality":"Amsterdam","addressCountry":"NL"},"brand":[{"@type":"Brand","name":"Chatsome","url":"https://chatsome.co/","description":"AI agents for customer service and sales"},{"@type":"Brand","name":"Delta Security","url":"https://delta.codingdelta.com/","description":"Website security scans"},{"@type":"Brand","name":"RoundE","url":"https://rounde.nl/","description":"Employee participation for startups"}],"identifier":{"@type":"PropertyValue","propertyID":"KVK","value":"77615999"},"image":{"@id":"https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws#/schema/image/1"},"knowsAbout":["Software development","Web application development","Product design","Mobile app development","AI agents","Business process automation"],"knowsLanguage":["en","nl"],"logo":{"@id":"https://codingdelta.com/#logo"},"sameAs":["https://www.linkedin.com/company/codingdelta/"]},{"@id":"https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://codingdelta.com","position":1},{"@type":"ListItem","name":"Coding Delta News","item":"https://codingdelta.com/news","position":2},{"@type":"ListItem","name":"Django fixes high-severity file-write and SQL injection flaws","position":3}]},{"@id":"https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws#article","dateModified":"2026-12-03T06:08:51+01:00","datePublished":"2026-12-03T06:08:51+01:00","description":"The Django project released 6.1.4, 6.0.11 and 5.2.20 with seven fixes, including a GeoDjango RasterField flaw (CVE-2026-124827) that can let attackers write files and possibly run code, and SQL injection in `range` and `in` lookups (CVE-2026-132092). The RasterField bug is a third attempt at fixing the same weakness; no exploitation has been reported.","headline":"Django fixes high-severity file-write and SQL injection flaws","inLanguage":"en-US","isBasedOn":"https://www.djangoproject.com/weblog/2026/dec/02/security-releases/?utm_source=console.codingdelta.com&utm_medium=web","thumbnailUrl":"og-image.png","@type":["Article","NewsArticle"],"articleSection":["Software & industry"],"author":{"@id":"https://codingdelta.com/#identity"},"image":{"@id":"https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws#/schema/image/2"},"isPartOf":{"@id":"https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws#webpage"},"keywords":["Vulnerabilities","Open source","Web development"],"mainEntityOfPage":{"@id":"https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws#webpage"},"publisher":{"@id":"https://codingdelta.com/#identity"}},{"@id":"https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws#/schema/image/1","@type":"ImageObject","contentUrl":"https://codingdelta.com/og-image.png","inLanguage":"en-US","url":"https://codingdelta.com/og-image.png"},{"@id":"https://codingdelta.com/#logo","@type":"ImageObject","caption":"Coding Delta","contentUrl":"https://codingdelta.com/logo.png","inLanguage":"en-US","url":"https://codingdelta.com/logo.png"},{"@id":"https://codingdelta.com/news/stories/126-django-fixes-high-severity-file-write-and-sql-injection-flaws#/schema/image/2","@type":"ImageObject","contentUrl":"og-image.png","inLanguage":"en-US","url":"og-image.png"}]}
```

## Sitemap

See the full [sitemap](https://codingdelta.com/sitemap.md) for all pages.
