Every CVE Search/ Get API key

CVE-2007-0405

Django Improper Access Control

6.5 MediumFix available

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

1.31%Up 0.2 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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

Affected packages
PackageAffectedFixed
django
PyPI
0.95 to 0.95
1.0
python-django
Debian:12
before 0.95.1-1
0.95.1-1
python-django
Debian:13
before 0.95.1-1
0.95.1-1
python-django
Debian:14
before 0.95.1-1
0.95.1-1
django
PyPI
0.95 up to 1.0
1.0

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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.

References

Show 5 moreShow less
MoveEnter Open