Description
The administration application in Django 0.91, 0.95, and 0.96 stores unauthenticated HTTP POST requests and processes them after successful authentication occurs, which allows remote attackers to conduct cross-site request forgery (CSRF) attacks and delete or modify data via unspecified requests.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-django | 1.0-1 | — |
| Debian 13 | python-django | 1.0-1 | — |
| Debian 12 | python-django | 1.0-1 | — |
| Debian 4.0 | python-django | 0.95.1-1etch2 | DSA-1640-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | django | >= 0.91.0, < 0.91.3 | 0.91.3 | GHSA-r5cj-wv24-92p5 |
| PyPI | django | >= 0.95.0, < 0.95.4 | 0.95.4 | GHSA-r5cj-wv24-92p5 |
| PyPI | django | >= 0.96.0, < 0.96.3 | 0.96.3 | GHSA-r5cj-wv24-92p5 |
| PyPI | django | < 1.1 | 1.1 | PYSEC-2008-2 |
Advisories 1
- DSA-1640-1 python-django - cross site request forgery Debian Security (DSA / DLA) · Mar 9, 2026
References
- 31837 third-party-advisory
- http://www.djangoproject.com/weblog/2008/sep/02/security/
- DSA-1640 vendor-advisory
- FEDORA-2008-7288 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=460966
- ADV-2008-2533 vdb-entry
- 31961 third-party-advisory
- [oss-security] 20080903 django CSRF vuln mailing-list
- FEDORA-2008-7672 vendor-advisory
- 47906 vdb-entry