CVE-2007-0405Django Project Django
Medium 6.5
Follow: this CVE · Django Project · Django Project Django We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 2.0
- 6.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- Yes
- Published
- Jan 23, 2007
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Vector
AV:N/AC:L/Au:S/C:P/I:P/A:P
What happens
The LazyUser class in the AuthenticationMiddleware for Django 0.95 does not properly cache the user name across requests, which allows remote authenticated users to gain the privileges of a different user.
What to do
- Apply the vendor's security update for Django.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django |
≥ 0.95 < 1.0 |
1.0 |
pip install "django>=1.0" |
| PyPI | django |
≥ 0.95 < 1.0 |
1.0 |
pip install "django>=1.0" |
Per OSV / GitHub Advisories (GHSA-mwv2-398h-v489, PYSEC-2026-629). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| django_project | django | 0.95 |
Official sources
References
Links published by the sources. Open them with care.
- code.djangoproject.com
- secunia.com Patch Vendor Advisory
- www.securityfocus.com
- exchange.xforce.ibmcloud.com