CVE-2007-0405
MEDIUM 6.5CVSS 2.0Django Improper Access Control
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.
- Published
- 23 Jan 2007
- Last modified
- 6 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Also known as
- GHSA-mwv2-398h-v489PYSEC-2026-629
- Sources
- NVDJSONOSV GHSA-mwv2-398h-v489JSONOSV PYSEC-2026-629JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | django_project | djangocpe:2.3:a:django_project:django:0.95:*:*:*:*:*:*:* |
= 0.95 | |
| OSV | PyPI | django | >= 0.95, < 1.0 | 1.0 |
References
- http://code.djangoproject.com/changeset/3754 · WEB
- http://secunia.com/advisories/23826 · Patch, Vendor Advisory
- http://www.securityfocus.com/bid/22138
- https://exchange.xforce.ibmcloud.com/vulnerabilities/31628 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2007-0405 · ADVISORY
- https://github.com/django/django/commit/3c5782287e · WEB
- https://github.com/django/django/commit/e89f0a65581f82a5740bfe989136cea75d09cd67 · WEB
- https://github.com/django/django · PACKAGE
- https://pypi.org/project/django · PACKAGE
- https://github.com/advisories/GHSA-mwv2-398h-v489 · ADVISORY
History
- 25 Nov 2026 20:13 UTC · NVD: first stored (published 23 Jan 2007)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 May 2022)