PT-2026-165745

CVE-2026-124827

·

Published

2026-12-02

·

Updated

2026-12-06

Description by

CVSS 3.1
8.8
High
MetricsAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Django versions 6.1 through 6.1.3 Django versions 6.0 through 6.0.10 Django versions 5.2 through 5.2.19
Description An issue exists in GeoDjango's django.contrib.gis.db.models.RasterField that allows an authenticated user to write files to attacker-controlled locations. This occurs when a user submits a JSON raster blob with a non-default GDAL driver and a controlled name parameter. The flaw can be triggered during form validation, even if the database record is not saved. This arbitrary file write can lead to remote code execution (RCE) if a malicious file is placed in a directory where the Python interpreter will import it. The issue specifically affects applications using GeoDjango with PostGIS and a RasterField that is reachable via the Django admin, a ModelForm, or a writable serializer.
Recommendations Update Django to version 6.1.4. Update Django to version 6.0.11. Update Django to version 5.2.20. As a temporary workaround, remove the RasterField from the admin and all ModelForm instances, or set editable=False for the field.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾