CVE-2007-0405
Django 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.
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2007-0405- CVSS 2.0
- 6.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:P - Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2007-0405- Updated
- 2026-11-02
EUVDEUVD-2022-4642 No score
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.
- Record
EUVD-2022-4642- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mwv2-398h-v489 No score
Django 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.
- Record
GHSA-mwv2-398h-v489- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2007-0405- Updated
- 2026-11-02
OSVDEBIAN-CVE-2007-0405 No score
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.
- Record
DEBIAN-CVE-2007-0405- Updated
- 2026-11-02
OSVGHSA-mwv2-398h-v489 No score
Django 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.
- Record
GHSA-mwv2-398h-v489- Updated
- 2026-11-02
OSVPYSEC-2026-629 No score
Django 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.
- Record
PYSEC-2026-629- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
djangoPyPI |
0.95 to 0.95 | 1.0 |
python-djangoDebian:12 |
before 0.95.1-1 | 0.95.1-1 |
python-djangoDebian:13 |
before 0.95.1-1 | 0.95.1-1 |
python-djangoDebian:14 |
before 0.95.1-1 | 0.95.1-1 |
djangoPyPI |
0.95 up to 1.0 | 1.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2007-0405 is a medium vulnerability (CVSS 6.5) in Django Project Django, published January 23, 2007. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.31%, the 70th percentile. Fixed in django 1.0.