Jaguarda Install skill

Security watch

Patch Django and clear affected page caches

Django fixed seven security issues across its supported branches. Two carry a high severity rating. They affect GeoDjango raster fields and certain database queries.

Source published Web applications

Who this matters to

Sites running Django 5.2, 6.0, or 6.1 before the patched release for their branch. Exposure depends on the features in use. The raster issue involves PostGIS applications that accept raster data from users. A separate issue affects sites that use Django’s page caching under certain URL configurations.

What to do

Upgrade to at least 5.2.20, 6.0.11, or 6.1.4 on the corresponding branch and redeploy the web and worker processes. If the site uses the affected page caching, clear potentially affected cached responses after deploying the fix. Review any form that accepts raster data and validate untrusted input.

How to verify

Run python -m django --version inside each deployed web and worker environment. Run the application’s existing query tests, especially those using range lookups, which now require exactly two values. For sites that cleared a cache, confirm that normal requests to distinct pages return the expected content.