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.