CVE-2026-124827: high-severity vulnerability in djangoproject Django
Server-side file-write via RasterField assignment
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
38Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 8.7
from disclosure to weaponsame day
Published on NVDDec 2
1st PoCDec 2
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.
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
Affected products
djangoproject · Djangopublic PoCs found — 3
githubgithub.com/joshuavanderpoll/CVE-2026-124827★ 13githubgithub.com/linoMlv/CVE-2026-124827-PoC-and-Lab★ 1githubgithub.com/achrafzaryouh/CVE-2026-124827★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — djangoproject Django
In the same product, most dangerous first.
CVE-2025-57833HIGHCVE-2025-57833EPSS 27.1%CVE-2025-64459CRITICALPotential SQL injection via _connector keyword argument in QuerySet and Q objectsEPSS 19.5%CVE-2025-32873MEDIUMCVE-2025-32873EPSS 14.3%CVE-2026-1207MEDIUMPotential SQL injection via raster lookups on PostGISEPSS 12.8%CVE-2026-15830MEDIUMPotential denial-of-service vulnerability via nested geometry collectionsEPSS 2.2%CVE-2025-64460HIGHPotential denial-of-service vulnerability in XML serializer text extractionEPSS 2.2%
References
https://docs.djangoproject.com/en/dev/releases/security/https://github.com/django/django/commit/02d09443c441ffc8064206dc4a8bdc6496fa49b0https://github.com/django/django/commit/6b5d29eae050ac7cf72cc5a407d2094ad8e83789https://github.com/django/django/commit/a3934abd4c0d43430efec34d6ae933794df2c2f5https://github.com/django/django/commit/b70d098878ae1a65fa2377be776610500ff44336https://groups.google.com/g/django-announcehttps://www.djangoproject.com/weblog/2026/dec/02/security-releases/