Back
CVE-2007-0405
The LazyUser class in the AuthenticationMiddleware for Django 0.95 does not properly cache the user name across requests, which allows…
- 6.5MediumCVSS base score
- 1.3%Exploitation in 30 daysEPSS · top 29% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By mitre
- 1 day later
· 1 day later
Published
- 18 years later
· 18 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 1.3% · top 29% of all CVEs (9 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIDjangoGHSA-mwv2-398h-v489 (opens in a new tab)
References
4
- django-request-session-hijacking(31628) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 23826 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://code.djangoproject.com/changeset/3754 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 22138 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-4642 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-mwv2-398h-v489 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2007-0405)Record last updated .