Description
The administrative interface (contrib.admin) in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 does not check if a field represents a relationship between models, which allows remote authenticated users to obtain sensitive information via a to_field parameter in a popup action to an admin change form page, as demonstrated by a /admin/auth/user/?pop=1&t=password URI.
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.6.6-1 | — |
| Debian 13 | python-django | 1.6.6-1 | — |
| Debian 12 | python-django | 1.6.6-1 | — |
| Debian 7 | python-django | 1.4.5-1+deb7u8 | DSA-3010-1 |
| Debian 6.0 | python-django | 1.2.3-3+squeeze11 | DLA-65-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | python-django | 1.6.1-2ubuntu0.4 | USN-2347-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | django | < 1.4.14 | 1.4.14 | GHSA-rw75-m7gp-92m3 |
| PyPI | django | >= 1.5, < 1.5.9 | 1.5.9 | GHSA-rw75-m7gp-92m3 |
| PyPI | django | >= 1.6, < 1.6.6 | 1.6.6 | GHSA-rw75-m7gp-92m3 |
| PyPI | django | >= 1.7a1, < 1.7c3 | 1.7c3 | GHSA-rw75-m7gp-92m3 |
| PyPI | django | < 1.4.14 · >= 1.5, < 1.5.9 · >= 1.6, < 1.6.6 | 1.4.14, 1.5.9, 1.6.6 | PYSEC-2014-7 |
Advisories 3
- DLA-65-1 python-django - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3010-1 python-django - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2347-1 python-django vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
References
- https://www.djangoproject.com/weblog/2014/aug/20/security/
- 61276 third-party-advisory
- 61281 third-party-advisory
- openSUSE-SU-2014:1132 vendor-advisory
- DSA-3010 vendor-advisory
- https://github.com/django/django/commit/2b31342cdf14fc20e07c43d258f1e7334ad664a6
- 59782 third-party-advisory