CVE-2026-124827
8.8HighPublished Dec 2, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-73
What an attacker gets
Authenticated attackers can achieve remote code execution by writing files to arbitrary locations. This is possible through the RasterField name parameter in Django's GIS module.
Root cause
The RasterField implementation fails to properly sanitize the name parameter, allowing path traversal during file creation.
Affected versions
- Django
6.1before6.1.4,6.0before6.0.11, and5.2before5.2.20 - older versions may also be affected
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to Django 6.1.4, 6.0.11, or 5.2.20. If you cannot upgrade, audit and restrict access to any forms or APIs that utilize RasterField.
$ pip install --upgrade djangoAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- https://docs.djangoproject.com/en/dev/releases/security/
- https://github.com/django/django/commit/02d09443c441ffc8064206dc4a8bdc6496fa49b0
- https://github.com/django/django/commit/6b5d29eae050ac7cf72cc5a407d2094ad8e83789
- https://github.com/django/django/commit/a3934abd4c0d43430efec34d6ae933794df2c2f5
- https://github.com/django/django/commit/b70d098878ae1a65fa2377be776610500ff44336
- https://groups.google.com/g/django-announce
- https://www.djangoproject.com/weblog/2026/dec/02/security-releases/
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1320929.8CriticalUnauthenticated attackers can execute arbitrary SQL commands via crafted range or in lookups. This leads to full database compromise if the application uses aliases or key transforms with percent signs.
- CVE-2026-1444678.1HighAuthenticated attackers can view, modify, or delete other users' bank account details. This is possible because the application fails to verify ownership of the bank account ID provided in the request.
- CVE-2026-811437.1HighLocal attackers with low privileges can execute arbitrary code on the appliance. This requires local access to the system.
- CVE-2026-811397.1HighLocal attackers can read or write arbitrary files on the system. This requires local access to the virtual appliance.
- CVE-2026-811387.8HighLocal attackers can execute arbitrary OS commands with elevated privileges. This requires local access to the virtual appliance.
- CVE-2026-811378.4HighLocal attackers can execute arbitrary commands on the system. This requires local access to the host running the virtual appliance.