Django patches high-severity RasterField file-write and SQL injection flaws
Original title: Django urges immediate upgrades after discovery of high-severity RCE flaw
Supported users should move to 6.1.4, 6.0.11, or 5.2.20; Snyk says it knows of no exploitation of the file-write flaw.
Django released fixes for seven vulnerabilities, including two it rated high severity. CVE-2026-124827 can let attackers write files through RasterField and, depending on permissions, run code; researcher Mohammed Fathy named it Django4Shell. CVE-2026-132092 can allow SQL injection when range or in lookups contain percent signs. Snyk said it was unaware of exploitation of the remote code execution flaw. Upgrades do not remove server-side request forgery risk from untrusted raster input.
Unconfirmed: Snyk reports no known exploitation of the file-write flaw; whether a write becomes code execution depends on filesystem permissions.
- Fixed releases are Django 6.1.4, 6.0.11, and 5.2.20.
- Snyk scored CVE-2026-132092 at 9.3 under CVSS 4.0 and said no prior privileges are required.
- RasterField exploitation typically needs a staff or administrator account, according to Snyk.
- Other fixes cover cache poisoning, XSS, a heap overflow, and two admin information leaks.
- Django says caches should be cleared because the cache-poisoning fix does not invalidate old responses.
Impact: Arbitrary file write that may lead to remote code execution
| Product | Affected | Fixed in |
|---|---|---|
| Django Software Foundation Django | Supported series before the stated fixes; older unsupported releases potentially vulnerable | 6.1.4, 6.0.11, or 5.2.20 |
- 1.Upgrade supported Django installs to 6.1.4, 6.0.11, or 5.2.20.
- 2.Clear potentially affected caches after upgrading.
- 3.If file-write exploitation is found, rotate Django-process credentials and rebuild from a trusted image.
- Vendors
- Django Software Foundation
- Products
- Django
- Organizations
- SnykRobusta Technology Group
Vulnerabilities mentioned
All| CVE | Vulnerability | CVSS | EPSS | Signals | Published |
|---|---|---|---|---|---|
CVE-2026-132092+1 related CVE | SQL injection in Django range and in lookups | 9.3 group max | — |
From the original article
4 min read at csoonline.com
The developers of Django, an open-source Python web framework, released security updates to address seven vulnerabilities, including two rated high severity. The project warned that applications accepting untrusted raster data through an affected model field could remain vulnerable to server-side request forgery even after upgrading. Django urged users in a security advisory to upgrade to version 6.
csoonline.com
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.