{"id":"CVE-2026-124827","aliases":["ALPINE-CVE-2026-124827","DEBIAN-CVE-2026-124827","EUVD-2026-141381","GHSA-fh3p-824r-m74q","MGASA-2026-0650","UBUNTU-CVE-2026-124827"],"status":"published","title":"Server-side file-write via RasterField assignment","description":"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.","severity":{"version":"4.0","score":8.7,"vector":"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","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},{"version":"4.0","score":8.7,"vector":"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","level":"high","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.03353,"percentile":0.89072,"model":"v2026.06.15"},"buzz":{"score":0.67,"authors":4},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-73"],"published":"2026-12-02T00:00:00Z","modified":"2026-12-05T04:00:03Z","exploits":[{"source":"pocgithub","id":"achrafzaryouh/CVE-2026-124827","title":"achrafzaryouh/CVE-2026-124827","date":"2026-12-02","url":"https://github.com/achrafzaryouh/CVE-2026-124827"},{"source":"pocgithub","id":"joshuavanderpoll/CVE-2026-124827","title":"joshuavanderpoll/CVE-2026-124827","date":"2026-12-02","url":"https://github.com/joshuavanderpoll/CVE-2026-124827"},{"source":"pocgithub","id":"linoMlv/CVE-2026-124827-PoC-and-Lab","title":"linoMlv/CVE-2026-124827-PoC-and-Lab","date":"2026-12-02","url":"https://github.com/linoMlv/CVE-2026-124827-PoC-and-Lab"},{"source":"pocgithub","id":"Christbowel/CVE-2026-124827-POC","title":"Christbowel/CVE-2026-124827-POC","date":"2026-12-03","url":"https://github.com/Christbowel/CVE-2026-124827-POC"},{"source":"pocgithub","id":"Luscious8/Django4shell","title":"Luscious8/Django4shell","date":"2026-12-03","url":"https://github.com/Luscious8/Django4shell"},{"source":"pocgithub","id":"flexEST/django4shell-checker","title":"flexEST/django4shell-checker","date":"2026-12-03","url":"https://github.com/flexEST/django4shell-checker"},{"source":"pocgithub","id":"kaizensecurity/CVE-2026-124827","title":"kaizensecurity/CVE-2026-124827","date":"2026-12-03","url":"https://github.com/kaizensecurity/CVE-2026-124827"}],"fixes":[{"ecosystem":"Alpine:v3.25","package":"py3-django","fixed_in":["5.2.20-r0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.25","package":"py3-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.20-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3:3.2.19-1","3:3.2.19-1+deb12u1","3:3.2.19-1+deb12u1~bpo11+1","3:3.2.19-1+deb12u2","3:3.2.20-1","3:3.2.20-1.1","3:3.2.21-1","3:3.2.25-0+deb12u1","3:3.2.25-0+deb12u2","3:3.2.25-0+deb12u3","3:3.2.25-0+deb12u4","3:3.2.25-0+deb12u5","3:3.2.25-0+deb12u6","3:3.2.25-0+deb12u7","3:4.1-1","3:4.1.1-1","3:4.1.2-1","3:4.1.3-1","3:4.1.4-1","3:4.1.5-1","3:4.2-1","3:4.2.1-1","3:4.2.10-1","3:4.2.11-1","3:4.2.13-1","3:4.2.14-1","3:4.2.15-1","3:4.2.15-1~bpo12+1","3:4.2.16-1","3:4.2.17-1","3:4.2.17-2","3:4.2.18-1","3:4.2.18-1~bpo12+1","3:4.2.19-1","3:4.2.19-1~bpo12+1","3:4.2.2-1","3:4.2.20-1","3:4.2.20-1~bpo12+1","3:4.2.21-1","3:4.2.21-1~bpo12+1","3:4.2.22-1","3:4.2.23-1","3:4.2.24-1","3:4.2.25-1","3:4.2.25-2","3:4.2.26-1","3:4.2.27-1","3:4.2.27-2","3:4.2.28-1","3:4.2.29-1","3:4.2.3-1","3:4.2.30-1","3:4.2.4-1","3:4.2.5-1","3:4.2.5-2","3:4.2.6-1","3:4.2.8-1","3:4.2.9-1","3:4.2~alpha1-1","3:4.2~beta1-1","3:4.2~rc1-1","3:5.0-1","3:5.0.1-1","3:5.0.2-1","3:5.0.3-1","3:5.0.4-1","3:5.0.6-1","3:5.0~alpha1-1","3:5.0~rc1-1","3:5.1-1","3:5.1.1-1","3:5.1.2-1","3:5.1.3-1","3:5.1.4-1","3:5.1.5-1","3:5.1~alpha1-1","3:5.1~beta1-1","3:5.1~rc1-1","3:5.2-1","3:5.2.1-1","3:5.2.13-1","3:5.2.14-1","3:5.2.14-2","3:5.2.15-1","3:5.2.15-2","3:5.2.15-2~bpo13+1","3:5.2.16-1","3:5.2.16-1~bpo13+1","3:5.2.17-1","3:5.2.17-2","3:5.2.17-2~bpo13+1","3:5.2.18-1","3:5.2.18-2","3:5.2.19-1","3:5.2.19-1~bpo13+1","3:5.2.2-1","3:5.2.3-1","3:5.2.4-1","3:5.2.5-1","3:5.2.6-1","3:5.2~alpha1-1","3:5.2~beta1-1","3:5.2~rc1-1","3:6.0-1","3:6.0.1-1","3:6.0.2-1","3:6.0.3-1","3:6.0.4-1","3:6.0.5-1","3:6.0.6-1","3:6.0~alpha1-1","3:6.0~beta1-1","3:6.0~rc1-1","3:6.1-1","3:6.1.1-1","3:6.1.2-1","3:6.1.3-1","3:6.1~beta1-1","3:6.1~rc1-1"]},{"source":"osv","ecosystem":"Debian:13","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3:4.2.23-1","3:4.2.24-1","3:4.2.25-1","3:4.2.25-2","3:4.2.26-1","3:4.2.27-0+deb13u1","3:4.2.27-1","3:4.2.27-2","3:4.2.28-0+deb13u1","3:4.2.28-0+deb13u2","3:4.2.28-1","3:4.2.29-1","3:4.2.30-0+deb13u1","3:4.2.30-1","3:5.0-1","3:5.0.1-1","3:5.0.2-1","3:5.0.3-1","3:5.0.4-1","3:5.0.6-1","3:5.0~alpha1-1","3:5.0~rc1-1","3:5.1-1","3:5.1.1-1","3:5.1.2-1","3:5.1.3-1","3:5.1.4-1","3:5.1.5-1","3:5.1~alpha1-1","3:5.1~beta1-1","3:5.1~rc1-1","3:5.2-1","3:5.2.1-1","3:5.2.13-1","3:5.2.14-1","3:5.2.14-2","3:5.2.15-1","3:5.2.15-2","3:5.2.15-2~bpo13+1","3:5.2.16-1","3:5.2.16-1~bpo13+1","3:5.2.17-1","3:5.2.17-2","3:5.2.17-2~bpo13+1","3:5.2.18-1","3:5.2.18-2","3:5.2.19-1","3:5.2.19-1~bpo13+1","3:5.2.2-1","3:5.2.3-1","3:5.2.4-1","3:5.2.5-1","3:5.2.6-1","3:5.2~alpha1-1","3:5.2~beta1-1","3:5.2~rc1-1","3:6.0-1","3:6.0.1-1","3:6.0.2-1","3:6.0.3-1","3:6.0.4-1","3:6.0.5-1","3:6.0.6-1","3:6.0~alpha1-1","3:6.0~beta1-1","3:6.0~rc1-1","3:6.1-1","3:6.1.1-1","3:6.1.2-1","3:6.1.3-1","3:6.1~beta1-1","3:6.1~rc1-1"]},{"source":"osv","ecosystem":"Debian:14","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3:4.2.23-1","3:4.2.24-1","3:4.2.25-1","3:4.2.25-2","3:4.2.26-1","3:4.2.27-1","3:4.2.27-2","3:4.2.28-1","3:4.2.29-1","3:4.2.30-1","3:5.0-1","3:5.0.1-1","3:5.0.2-1","3:5.0.3-1","3:5.0.4-1","3:5.0.6-1","3:5.0~alpha1-1","3:5.0~rc1-1","3:5.1-1","3:5.1.1-1","3:5.1.2-1","3:5.1.3-1","3:5.1.4-1","3:5.1.5-1","3:5.1~alpha1-1","3:5.1~beta1-1","3:5.1~rc1-1","3:5.2-1","3:5.2.1-1","3:5.2.13-1","3:5.2.14-1","3:5.2.14-2","3:5.2.15-1","3:5.2.15-2","3:5.2.15-2~bpo13+1","3:5.2.16-1","3:5.2.16-1~bpo13+1","3:5.2.17-1","3:5.2.17-2","3:5.2.17-2~bpo13+1","3:5.2.18-1","3:5.2.18-2","3:5.2.19-1","3:5.2.19-1~bpo13+1","3:5.2.2-1","3:5.2.3-1","3:5.2.4-1","3:5.2.5-1","3:5.2.6-1","3:5.2~alpha1-1","3:5.2~beta1-1","3:5.2~rc1-1","3:6.0-1","3:6.0.1-1","3:6.0.2-1","3:6.0.3-1","3:6.0.4-1","3:6.0.5-1","3:6.0.6-1","3:6.0~alpha1-1","3:6.0~beta1-1","3:6.0~rc1-1","3:6.1-1","3:6.1.1-1","3:6.1.2-1","3:6.1.3-1","3:6.1~beta1-1","3:6.1~rc1-1"]},{"source":"osv","ecosystem":"Mageia:10","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.20-1.mga10"}]}],"bundled":7},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.4-1ubuntu1","1.6-1","1.6.1-1","1.6.1-2","1.6.1-2ubuntu0.1","1.6.1-2ubuntu0.2","1.6.1-2ubuntu0.3","1.6.1-2ubuntu0.4","1.6.1-2ubuntu0.5","1.6.1-2ubuntu0.6","1.6.1-2ubuntu0.8","1.6.1-2ubuntu0.9","1.6.1-2ubuntu0.10","1.6.1-2ubuntu0.11","1.6.1-2ubuntu0.12","1.6.1-2ubuntu0.13","1.6.1-2ubuntu0.14","1.6.1-2ubuntu0.15","1.6.1-2ubuntu0.16","1.6.11-0ubuntu1","1.6.11-0ubuntu1.1","1.6.11-0ubuntu1.2","1.6.11-0ubuntu1.3","1.6.11-0ubuntu1.3+esm1","1.6.11-0ubuntu1.3+esm2","1.6.11-0ubuntu1.3+esm3","1.6.11-0ubuntu1.3+esm4","1.6.11-0ubuntu1.3+esm5","1.6.11-0ubuntu1.3+esm6","1.6.11-0ubuntu1.3+esm7","1.6.11-0ubuntu1.3+esm8","1.6.11-0ubuntu1.3+esm9","1.6.11-0ubuntu1.3+esm10","1.6.11-0ubuntu1.3+esm11","1.6.11-0ubuntu1.3+esm12"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.9-1ubuntu5","1.8.5-2ubuntu1","1.8.7-1ubuntu1","1.8.7-1ubuntu2","1.8.7-1ubuntu3","1.8.7-1ubuntu4","1.8.7-1ubuntu5","1.8.7-1ubuntu5.1","1.8.7-1ubuntu5.2","1.8.7-1ubuntu5.4","1.8.7-1ubuntu5.5","1.8.7-1ubuntu5.6","1.8.7-1ubuntu5.7","1.8.7-1ubuntu5.8","1.8.7-1ubuntu5.9","1.8.7-1ubuntu5.10","1.8.7-1ubuntu5.11","1.8.7-1ubuntu5.12","1.8.7-1ubuntu5.13","1.8.7-1ubuntu5.14","1.8.7-1ubuntu5.15","1.8.7-1ubuntu5.15+esm1","1.8.7-1ubuntu5.15+esm3","1.8.7-1ubuntu5.15+esm4","1.8.7-1ubuntu5.15+esm5","1.8.7-1ubuntu5.15+esm6","1.8.7-1ubuntu5.15+esm7","1.8.7-1ubuntu5.15+esm8","1.8.7-1ubuntu5.15+esm9","1.8.7-1ubuntu5.15+esm10","1.8.7-1ubuntu5.15+esm11","1.8.7-1ubuntu5.15+esm12","1.8.7-1ubuntu5.15+esm13"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.11.4-1ubuntu1","1:1.11.6-1ubuntu1","1:1.11.9-1ubuntu1","1:1.11.11-1ubuntu1","1:1.11.11-1ubuntu1.1","1:1.11.11-1ubuntu1.2","1:1.11.11-1ubuntu1.3","1:1.11.11-1ubuntu1.4","1:1.11.11-1ubuntu1.5","1:1.11.11-1ubuntu1.6","1:1.11.11-1ubuntu1.7","1:1.11.11-1ubuntu1.8","1:1.11.11-1ubuntu1.9","1:1.11.11-1ubuntu1.10","1:1.11.11-1ubuntu1.11","1:1.11.11-1ubuntu1.12","1:1.11.11-1ubuntu1.13","1:1.11.11-1ubuntu1.14","1:1.11.11-1ubuntu1.15","1:1.11.11-1ubuntu1.16","1:1.11.11-1ubuntu1.17","1:1.11.11-1ubuntu1.18","1:1.11.11-1ubuntu1.19","1:1.11.11-1ubuntu1.20","1:1.11.11-1ubuntu1.21","1:1.11.11-1ubuntu1.21+esm1","1:1.11.11-1ubuntu1.21+esm2","1:1.11.11-1ubuntu1.21+esm3","1:1.11.11-1ubuntu1.21+esm4","1:1.11.11-1ubuntu1.21+esm5","1:1.11.11-1ubuntu1.21+esm6","1:1.11.11-1ubuntu1.21+esm7","1:1.11.11-1ubuntu1.21+esm8","1:1.11.11-1ubuntu1.21+esm9","1:1.11.11-1ubuntu1.21+esm10","1:1.11.11-1ubuntu1.21+esm11","1:1.11.11-1ubuntu1.21+esm12","1:1.11.11-1ubuntu1.21+esm13","1:1.11.11-1ubuntu1.21+esm14","1:1.11.11-1ubuntu1.21+esm15","1:1.11.11-1ubuntu1.21+esm17"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.11.22-1ubuntu1","2:2.2.6-1ubuntu1","2:2.2.9-2ubuntu1","2:2.2.10-1","2:2.2.10-1ubuntu1","2:2.2.11-1","2:2.2.12-1","2:2.2.12-1ubuntu0.1","2:2.2.12-1ubuntu0.2","2:2.2.12-1ubuntu0.3","2:2.2.12-1ubuntu0.4","2:2.2.12-1ubuntu0.5","2:2.2.12-1ubuntu0.6","2:2.2.12-1ubuntu0.7","2:2.2.12-1ubuntu0.8","2:2.2.12-1ubuntu0.9","2:2.2.12-1ubuntu0.10","2:2.2.12-1ubuntu0.11","2:2.2.12-1ubuntu0.12","2:2.2.12-1ubuntu0.13","2:2.2.12-1ubuntu0.14","2:2.2.12-1ubuntu0.15","2:2.2.12-1ubuntu0.16","2:2.2.12-1ubuntu0.17","2:2.2.12-1ubuntu0.18","2:2.2.12-1ubuntu0.19","2:2.2.12-1ubuntu0.20","2:2.2.12-1ubuntu0.21","2:2.2.12-1ubuntu0.22","2:2.2.12-1ubuntu0.23","2:2.2.12-1ubuntu0.24","2:2.2.12-1ubuntu0.25","2:2.2.12-1ubuntu0.26","2:2.2.12-1ubuntu0.27","2:2.2.12-1ubuntu0.28","2:2.2.12-1ubuntu0.29","2:2.2.12-1ubuntu0.29+esm1","2:2.2.12-1ubuntu0.29+esm2","2:2.2.12-1ubuntu0.29+esm3","2:2.2.12-1ubuntu0.29+esm4","2:2.2.12-1ubuntu0.29+esm5","2:2.2.12-1ubuntu0.29+esm6","2:2.2.12-1ubuntu0.29+esm7","2:2.2.12-1ubuntu0.29+esm8","2:2.2.12-1ubuntu0.29+esm10"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:2.2.24-1ubuntu1","2:3.2.12-2","2:3.2.12-2ubuntu1","2:3.2.12-2ubuntu1.1","2:3.2.12-2ubuntu1.2","2:3.2.12-2ubuntu1.3","2:3.2.12-2ubuntu1.4","2:3.2.12-2ubuntu1.5","2:3.2.12-2ubuntu1.6","2:3.2.12-2ubuntu1.7","2:3.2.12-2ubuntu1.8","2:3.2.12-2ubuntu1.9","2:3.2.12-2ubuntu1.10","2:3.2.12-2ubuntu1.11","2:3.2.12-2ubuntu1.12","2:3.2.12-2ubuntu1.13","2:3.2.12-2ubuntu1.14","2:3.2.12-2ubuntu1.15","2:3.2.12-2ubuntu1.16","2:3.2.12-2ubuntu1.17","2:3.2.12-2ubuntu1.18","2:3.2.12-2ubuntu1.19","2:3.2.12-2ubuntu1.20","2:3.2.12-2ubuntu1.21","2:3.2.12-2ubuntu1.22","2:3.2.12-2ubuntu1.23","2:3.2.12-2ubuntu1.24","2:3.2.12-2ubuntu1.25","2:3.2.12-2ubuntu1.26","2:3.2.12-2ubuntu1.27","2:3.2.12-2ubuntu1.29"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3:4.2.4-1ubuntu2","3:4.2.8-1","3:4.2.9-1","3:4.2.11-1","3:4.2.11-1ubuntu1","3:4.2.11-1ubuntu1.1","3:4.2.11-1ubuntu1.2","3:4.2.11-1ubuntu1.3","3:4.2.11-1ubuntu1.4","3:4.2.11-1ubuntu1.5","3:4.2.11-1ubuntu1.6","3:4.2.11-1ubuntu1.7","3:4.2.11-1ubuntu1.8","3:4.2.11-1ubuntu1.9","3:4.2.11-1ubuntu1.10","3:4.2.11-1ubuntu1.11","3:4.2.11-1ubuntu1.12","3:4.2.11-1ubuntu1.13","3:4.2.11-1ubuntu1.14","3:4.2.11-1ubuntu1.15","3:4.2.11-1ubuntu1.16","3:4.2.11-1ubuntu1.18"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3:5.2.9-0ubuntu4","3:5.2.16-1","3:5.2.17-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3:5.2.4-1ubuntu2","3:5.2.4-1ubuntu3","3:5.2.9-0ubuntu1","3:5.2.9-0ubuntu2","3:5.2.9-0ubuntu3","3:5.2.9-0ubuntu4","3:5.2.9-0ubuntu4.1","3:5.2.9-0ubuntu4.3"]}],"products":[{"vendor":"djangoproject","product":"django"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["vendor-advisory","advisory"]},{"url":"https://groups.google.com/g/django-announce","tags":["mailing-list","article"]},{"url":"https://github.com/django/django/commit/a3934abd4c0d43430efec34d6ae933794df2c2f5","tags":["patch","fix"]},{"url":"https://github.com/django/django/commit/b70d098878ae1a65fa2377be776610500ff44336","tags":["patch","fix"]},{"url":"https://github.com/django/django/commit/6b5d29eae050ac7cf72cc5a407d2094ad8e83789","tags":["patch","fix"]},{"url":"https://github.com/django/django/commit/02d09443c441ffc8064206dc4a8bdc6496fa49b0","tags":["patch","fix","report"]},{"url":"https://www.djangoproject.com/weblog/2026/dec/02/security-releases/","tags":["vendor-advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124827","tags":["advisory"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security"},{"url":"https://www.djangoproject.com/weblog/2026/dec/02/security-releases"},{"url":"https://github.com/advisories/GHSA-fh3p-824r-m74q"},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-124827","tags":["advisory"]},{"url":"https://github.com/django/django/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124827.json","tags":["advisory"]},{"url":"https://pypi.org/project/Django/","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-124827","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0650.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=36895","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2026/12/02/3","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2026-124827","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-124827","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-124827","title":"Server-side file-write via RasterField assignment","description":"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.","status":"published","published":"2026-12-02T13:20:46.557Z","modified":"2026-12-03T04:56:07.638Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high","assessor":"cna"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-73"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-02"},"updated_at":"2026-12-02T15:46:44.368078Z"}],"euvd":[{"id":"EUVD-2026-141381","description":"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.","status":"published","published":"2026-12-02T13:20:46Z","modified":"2026-12-03T04:56:07Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"updated_at":"2026-12-02T18:26:16.201088Z"}],"ghsa":[{"id":"GHSA-fh3p-824r-m74q","title":"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...","description":"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.","status":"published","published":"2026-12-02T15:32:18Z","modified":"2026-12-02T15:32:27Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-73"],"updated_at":"2026-12-02T15:37:41.620227Z"}],"nvd":[{"id":"CVE-2026-124827","description":"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.","status":"published","published":"2026-12-02T14:17:11.44Z","modified":"2026-12-03T05:19:03.26Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-73"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-02"},"updated_at":"2026-12-02T16:23:52.42617Z"}],"osv":[{"id":"ALPINE-CVE-2026-124827","upstream":["CVE-2026-124827"],"description":"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.","status":"published","published":"2026-12-02T14:17:11.44Z","modified":"2026-12-04T00:30:02.881766242Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"updated_at":"2026-12-04T00:49:15.699073Z"},{"id":"CVE-2026-124827","title":"Server-side file-write via RasterField assignment","description":"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.","status":"published","published":"2026-12-02T13:20:46.557Z","modified":"2026-12-03T21:00:35.453110308Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"cwes":["CWE-73"],"updated_at":"2026-12-03T21:10:28.714974Z"},{"id":"DEBIAN-CVE-2026-124827","upstream":["CVE-2026-124827"],"description":"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.","status":"published","published":"2026-12-02T14:17:11.44Z","modified":"2026-12-03T07:47:42.903951605Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"updated_at":"2026-12-03T04:09:53.211918Z"},{"id":"MGASA-2026-0650","upstream":["CVE-2026-115868","CVE-2026-119642","CVE-2026-124827","CVE-2026-125673","CVE-2026-127929","CVE-2026-132092","CVE-2026-132809"],"title":"Updated python-django package fixes security vulnerabilities","description":"The updated package fixes security vulnerabilities:\nPotential cross-site scripting vulnerability in truncatechars_html.\n(CVE-2026-115868)\nInformation leakage in admin changelist via \"pk\" alias for\nOneToOneField. (CVE-2026-119642)\nServer-side file-write via RasterField assignment. (CVE-2026-124827)\nPotential cache poisoning via dot segments in request paths.\n(CVE-2026-125673)\nInformation leakage in admin changelist via reverse relations.\n(CVE-2026-127929)\nPotential SQL injection in range and in lookups. (CVE-2026-132092)\nHeap buffer overflow in OGRGeometry.wkb. (CVE-2026-132809)\n","status":"published","published":"2026-12-05T03:45:18Z","modified":"2026-12-05T04:00:03.440045067Z","updated_at":"2026-12-05T04:14:18.806243Z"},{"id":"UBUNTU-CVE-2026-124827","upstream":["CVE-2026-124827"],"description":"[Server-side file-write via RasterField assignment]","status":"published","published":"2026-12-02T00:00:00Z","modified":"2026-12-03T20:48:19.423513044Z","updated_at":"2026-12-03T21:12:52.524909Z"}]}}
