CVE-2026-124827
HIGH 8.7CVSS 4.0Server-side file-write via RasterField assignment
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.
- Published
- 2 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
- NVD status
- Deferred
- Weakness
- CWE-73
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 (Secondary) | CVSS 4.0 | HIGH 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | DSF | CVSS 4.0 | HIGH 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 |
| NVD | 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | DSF | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://pypi.org/project/Django/ | django | >= 6.1, < 6.1.4; >= 6.0, < 6.0.11; >= 5.2, < 5.2.20 | 6.1.4, 6.0.11, 5.2.20 |
References
- https://docs.djangoproject.com/en/dev/releases/security/ · vendor-advisory
- https://github.com/django/django/commit/02d09443c441ffc8064206dc4a8bdc6496fa49b0 · patch
- https://github.com/django/django/commit/6b5d29eae050ac7cf72cc5a407d2094ad8e83789 · patch
- https://github.com/django/django/commit/a3934abd4c0d43430efec34d6ae933794df2c2f5 · patch
- https://github.com/django/django/commit/b70d098878ae1a65fa2377be776610500ff44336 · patch
- https://groups.google.com/g/django-announce · mailing-list
- https://www.djangoproject.com/weblog/2026/dec/02/security-releases/ · vendor-advisory
History
- 3 Dec 2026 06:07 UTC · NVD: updated (other details)
- 3 Dec 2026 05:06 UTC · CVE List: updated (other details)
- 2 Dec 2026 16:24 UTC · NVD: updated (other details)
- 2 Dec 2026 16:11 UTC · CVE List: updated (other details)
- 2 Dec 2026 14:42 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 13:48 UTC · CVE List: first stored (published 2 Dec 2026)