---
title: Django 6.1.4, 6.0.11 and 5.2.20 fix GeoDjango file write and SQL injection (CVE-2026-124827)
description: >-
  Resolved. The Django project released 6.1.4, 6.0.11 and 5.2.20 on 2 Dec 2026 with seven security
  fixes. The most serious, CVE-2026-124827 (high), lets...
url: https://expiredqueues.com/security-advisories/django-cve-2026-124827/
markdown: https://expiredqueues.com/security-advisories/django-cve-2026-124827/index.md
image: https://expiredqueues.com/images/og/security-advisories-django-cve-2026-124827-4417f3f5.jpg
---

[Security advisories](https://expiredqueues.com/security-advisories/index.md)

# Django 6.1.4, 6.0.11 and 5.2.20 fix GeoDjango file write and SQL injection (CVE-2026-124827)

First listed 4 December 2026 Updated 4 December 2026

Resolved

The Django project released 6.1.4, 6.0.11 and 5.2.20 on 2 Dec 2026 with seven security fixes. The most serious, CVE-2026-124827 (high), lets untrusted input assigned to a GeoDjango RasterField write files on the server; press calls it Django4Shell. CVE-2026-132092 (high) is a SQL injection in range and in lookups, and CVE-2026-115868 (moderate) is cross-site scripting in truncatechars\_html. Django reports no exploitation.

## Is CVE-2026-124827 exploited?

No attacks reported as of 4 December 2026.

## Is there a fix?

Yes. A fix is out. The details are in [the source](https://www.djangoproject.com/weblog/2026/dec/02/security-releases/).

- **Vendor:** Django
- **Type:** Patch
- **Status:** Resolved. No exploitation reported.
- **CVE:** [CVE-2026-124827](https://www.cve.org/CVERecord?id=CVE-2026-124827), [CVE-2026-132092](https://www.cve.org/CVERecord?id=CVE-2026-132092), [CVE-2026-115868](https://www.cve.org/CVERecord?id=CVE-2026-115868), [CVE-2026-125673](https://www.cve.org/CVERecord?id=CVE-2026-125673), [CVE-2026-119642](https://www.cve.org/CVERecord?id=CVE-2026-119642), [CVE-2026-127929](https://www.cve.org/CVERecord?id=CVE-2026-127929), [CVE-2026-132809](https://www.cve.org/CVERecord?id=CVE-2026-132809)
- **Tags:** django, [Python](https://expiredqueues.com/security-advisories/stack/python/index.md)
- **History:**
  - 4 December 2026 First listed.

[Read the source](https://www.djangoproject.com/weblog/2026/dec/02/security-releases/)

## Related advisories

- [DevGating malicious PyPI packages hide malware until a developer runs them](https://expiredqueues.com/security-advisories/devgating-pypi-2026-12/index.md)
- [Amazon says a China-linked actor used the Cairn AI tool to find a probable zero-day](https://expiredqueues.com/security-advisories/amazon-cairn-ai-zero-day-2026-11/index.md)
- [pip bundles compromised eMudhra certificates (CVE-2026-133949)](https://expiredqueues.com/security-advisories/emudhra-pip-cve-2026-133949/index.md)
- [LiteLLM custom-code guardrail sandbox escape (CVE-2026-40217)](https://expiredqueues.com/security-advisories/litellm-cve-2026-40217/index.md)
- [Malicious agent-framework releases on PyPI steal cloud and CI credentials](https://expiredqueues.com/security-advisories/microsoft-agent-framework-pypi-2026-11/index.md)

This is one entry in a list I pick by hand. It tells you whether a fix exists. For how to apply it, follow the source. [See all advisories](https://expiredqueues.com/security-advisories/index.md).

**Follow Enqueue Magazine.** We are on X and Instagram.

[](https://x.com/enqueuemag "Enqueue Magazine on X (@enqueuemag)")[](https://www.instagram.com/enqueuemag/ "Enqueue Magazine on Instagram (@enqueuemag)")

## Structured data

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Article",
      "headline": "Django 6.1.4, 6.0.11 and 5.2.20 fix GeoDjango file write and SQL injection (CVE-2026-124827)",
      "description": "The Django project released 6.1.4, 6.0.11 and 5.2.20 on 2 Dec 2026 with seven security fixes. The most serious, CVE-2026-124827 (high), lets untrusted input assigned to a GeoDjango RasterField write files on the server; press calls it Django4Shell. CVE-2026-132092 (high) is a SQL injection in range and in lookups, and CVE-2026-115868 (moderate) is cross-site scripting in truncatechars_html. Django reports no exploitation.",
      "datePublished": "2026-12-04",
      "dateModified": "2026-12-04",
      "author": {
        "@type": "Person",
        "name": "Adrian Noel",
        "url": "https://expiredqueues.com/about/"
      },
      "publisher": {
        "@type": "Person",
        "name": "Adrian Noel"
      },
      "mainEntityOfPage": "https://expiredqueues.com/security-advisories/django-cve-2026-124827/",
      "isPartOf": {
        "@type": "CollectionPage",
        "@id": "https://expiredqueues.com/security-advisories/"
      },
      "about": "Django",
      "keywords": "CVE-2026-124827, CVE-2026-132092, CVE-2026-115868, CVE-2026-125673, CVE-2026-119642, CVE-2026-127929, CVE-2026-132809",
      "citation": "https://www.djangoproject.com/weblog/2026/dec/02/security-releases/"
    },
    {
      "@type": "BreadcrumbList",
      "itemListElement": [
        {
          "@type": "ListItem",
          "position": 1,
          "name": "Home",
          "item": "https://expiredqueues.com/"
        },
        {
          "@type": "ListItem",
          "position": 2,
          "name": "Security advisories",
          "item": "https://expiredqueues.com/security-advisories/"
        },
        {
          "@type": "ListItem",
          "position": 3,
          "name": "Django 6.1.4, 6.0.11 and 5.2.20 fix GeoDjango file write and SQL injection (CVE-2026-124827)",
          "item": "https://expiredqueues.com/security-advisories/django-cve-2026-124827/"
        }
      ]
    }
  ]
}
```
