What is CVE-2026-124827?
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 remote code execution. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Mohammed Fathy for reporting this issue.
The record classifies CVE-2026-124827 under weakness class CWE-73. Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs low-privilege credentials, needs no user interaction, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 1 day ago.
Severity and exploitation probability
- CVSS v3.1 base score
- 8.8 — HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS v4.0 base score
- 8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 6.4/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2026-12-02
Is CVE-2026-124827 being exploited?
Weaponised exploit code for CVE-2026-124827 is publicly available. 2 public proof-of-concept repositories are tracked for this identifier. It currently carries a trending score of 48 in the Threadlinqs vulnerability feed.
- joshuavanderpoll/CVE-2026-124827 (github)
- linoMlv/CVE-2026-124827-PoC-and-Lab (github)
Affected products and versions
- djangoproject: Django
How to fix CVE-2026-124827
The record marks a vendor fix as available for CVE-2026-124827. Patch reference: https://github.com/django/django/commit/a3934abd4c0d43430efec34d6ae933794df2c2f5. Vendor advisory: https://docs.djangoproject.com/en/dev/releases/security/. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.
Threat activity tracking CVE-2026-124827
2 tracked threats in the Threadlinqs corpus reference CVE-2026-124827, either in the campaign’s CVE list or as an indicator on the campaign record.
- Django4Shell (CVE-2026-124827): GeoDjango RasterField Arbitrary File Write Enabling Remote Code Execution — CRITICAL · 2026-12-02
- Django4shell (CVE-2026-124827) - Django RCE via GeoDjango RasterField Form Validation — CRITICAL · 2026-12-02
Sources
Enriched from CVE.org, NVD, GitHub Security Advisories, public proof-of-concept repositories. This product uses the NVD API but is not endorsed or certified by the NVD.
Vendor advisory and patch
- docs.djangoproject.com — vendor advisory
- github.com — patch
- github.com — patch (b70d098878ae1a65fa2377be776610500ff44336)
- github.com — patch (6b5d29eae050ac7cf72cc5a407d2094ad8e83789)
- github.com — patch (02d09443c441ffc8064206dc4a8bdc6496fa49b0)
Mailing list and disclosure
Showing 6 of 7 recorded references.