{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-124827","assignerOrgId":"6a34fbeb-21d4-45e7-8e0a-62b95bc12c92","state":"PUBLISHED","assignerShortName":"DSF","dateReserved":"2026-11-09T13:36:26.663Z","datePublished":"2026-12-02T13:20:46.557Z","dateUpdated":"2026-12-03T04:56:07.638Z"},"containers":{"cna":{"providerMetadata":{"orgId":"6a34fbeb-21d4-45e7-8e0a-62b95bc12c92","shortName":"DSF","dateUpdated":"2026-12-02T13:20:46.557Z"},"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-73","description":"CWE-73: External Control of File Name or Path","type":"CWE"}]}],"impacts":[{"capecId":"CAPEC-76","descriptions":[{"lang":"en","value":"CAPEC-76: Manipulating Web Input to File System Calls"}]}],"title":"Server-side file-write via RasterField assignment","metrics":[{"other":{"content":{"value":"high","namespace":"https://docs.djangoproject.com/en/dev/internals/security/#security-issue-severity-levels"},"type":"Django severity rating"}},{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"}},{"cvssV4_0":{"version":"4.0","vectorString":"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","baseScore":8.7,"baseSeverity":"HIGH"}}],"descriptions":[{"lang":"en","value":"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.\n`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.\nEarlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected.\nDjango would like to thank Mohammed Fathy for reporting this issue.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p>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.</p><p><code>django.contrib.gis.db.models.RasterField</code> allows the creation of files at attacker-controlled locations via the <code>name</code> parameter of a data definition. Depending on the raster driver, this could enable remote code execution.</p><p>Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected.</p><p>Django would like to thank Mohammed Fathy for reporting this issue.</p>"}]}],"affected":[{"collectionURL":"https://pypi.org/project/Django/","defaultStatus":"unaffected","packageName":"django","product":"Django","repo":"https://github.com/django/django/","vendor":"djangoproject","versions":[{"status":"affected","version":"6.1","lessThan":"6.1.4","versionType":"python"},{"status":"unaffected","version":"6.1.4","versionType":"python"},{"status":"affected","version":"6.0","lessThan":"6.0.11","versionType":"python"},{"status":"unaffected","version":"6.0.11","versionType":"python"},{"status":"affected","version":"5.2","lessThan":"5.2.20","versionType":"python"},{"status":"unaffected","version":"5.2.20","versionType":"python"}]}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","name":"Django security archive","tags":["vendor-advisory"]},{"url":"https://groups.google.com/g/django-announce","name":"Django releases announcements","tags":["mailing-list"]},{"tags":["patch"],"url":"https://github.com/django/django/commit/a3934abd4c0d43430efec34d6ae933794df2c2f5"},{"tags":["patch"],"url":"https://github.com/django/django/commit/b70d098878ae1a65fa2377be776610500ff44336"},{"tags":["patch"],"url":"https://github.com/django/django/commit/6b5d29eae050ac7cf72cc5a407d2094ad8e83789"},{"tags":["patch"],"url":"https://github.com/django/django/commit/02d09443c441ffc8064206dc4a8bdc6496fa49b0"},{"url":"https://www.djangoproject.com/weblog/2026/dec/02/security-releases/","name":"Django security releases issued: 6.1.4, 6.0.11, and 5.2.20","tags":["vendor-advisory"]}],"credits":[{"lang":"en","type":"reporter","value":"Mohammed Fathy"},{"lang":"en","type":"analyst","value":"Sarah Boyce"},{"lang":"en","type":"analyst","value":"David Smith"},{"lang":"en","type":"remediation developer","value":"Jacob Walls"},{"lang":"en","type":"remediation reviewer","value":"Sarah Boyce"},{"lang":"en","type":"coordinator","value":"Jacob Walls"}],"timeline":[{"lang":"en","time":"2026-10-22T12:00:00.000Z","value":"Initial report received."},{"lang":"en","time":"2026-11-09T12:00:00.000Z","value":"Vulnerability confirmed."},{"lang":"en","time":"2026-12-02T07:00:00.000Z","value":"Security release issued."}],"datePublic":"2026-12-02T07:00:00.000Z","source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-12-02T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-124827"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-12-03T04:56:07.638Z"}}]}}