CVE-2026-124827: Vulnerability in Djangoproject Django
Patch soon. 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...
CWE-73
- Exploitation
- None confirmed
- Severity
- 8.7 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-fh3p-824r-m74q
- 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
- Weakness
- CWE-73
- Published
- 2 Dec 2026
- Last change
- 3 Dec 2026
Affected products
Affected versions and the first fixed release
- Djangoproject Django From 6.1 before 6.1.4; From 6.0 before 6.0.11; From 5.2 before 5.2.20. Fixed in 6.1.4, 6.0.11, 5.2.20
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- docs.djangoproject.com/en/dev/releases/security/
- github.com/django/django/commit/a3934abd4c0d43430efec34d6ae933794df2c2f5
- github.com/django/django/commit/b70d098878ae1a65fa2377be776610500ff44336
- github.com/django/django/commit/6b5d29eae050ac7cf72cc5a407d2094ad8e83789
- github.com/django/django/commit/02d09443c441ffc8064206dc4a8bdc6496fa49b0
Related
- Django vulnerabilities Recent advisories, watch this product