CVE-2026-124827Django Vulnerability
Server-side file-write via RasterField assignment
Published Dec 2, 2026 · Updated Dec 3, 2026 · Also known as EUVD-2026-141381, GHSA-fh3p-824r-m74q
Key Facts
Patch in the next maintenance window- CVE-2026-124827 is a high-severity vulnerability (CVSS 8.7 v4) affecting Django (pypi).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- Fixed versions are available, including Django 5.2.20, Django 6.0.11, Django 6.1.4.
- Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Scores
CVSS v4
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
EPSS (30-day exploit likelihood)
n/a
Exploit maturity
Proof of concept
ATLAS score
57/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
5
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2026-124827
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-124827
- advisoryDjango security archive
- advisoryDjango security releases issued: 6.1.4, 6.0.11, and 5.2.20
- patchhttps://github.com/django/django/commit/02d09443c441ffc8064206dc4a8bdc6496fa49b0
- patchhttps://github.com/django/django/commit/6b5d29eae050ac7cf72cc5a407d2094ad8e83789
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.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Djangopypi | >= 5.2, >= 6.1 | 5.2.20 |
Patched Releases
Django
5.2.20, 6.0.11, 6.1.4
django/django
5.2.20, 6.0.11, 6.1.4
Timeline
Publicly disclosed
Dec 2, 2026
Last updated
Dec 3, 2026
Weakness Type
- CWE-73 External Control of File Name or Path
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-124827
- advisoryDjango security archive
- advisoryDjango security releases issued: 6.1.4, 6.0.11, and 5.2.20
- patchgithub.com · 02d0944
FAQ
Common Questions.
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.
Affected: Django (pypi) versions >= 5.2, >= 6.1. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Django 5.2.20, Django 6.0.11, Django 6.1.4.
Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Is CVE-2026-124827 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo