{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2007-0405","id":"CVE-2007-0405","title":"Django Improper Access Control","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.","descriptionLong":"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":"2007-01-23T00:00:00.000Z","updated":"2026-07-06T08:11:20.992874900Z","reserved":"2007-01-22T00:00:00.000Z","status":"PUBLISHED","rejected":false,"assigner":"mitre","metric":null,"metrics":[],"rating":"unrated","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=0.95 <1.0"],"fixed":["1.0"],"advisory":"GHSA-mwv2-398h-v489"}],"cwes":[],"aliases":["GHSA-mwv2-398h-v489","PYSEC-2026-629"],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/31628","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://secunia.com/advisories/23826","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory","fix"]},{"url":"http://code.djangoproject.com/changeset/3754","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/22138","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-0405","tags":["advisory"]},{"url":"https://github.com/django/django/commit/3c5782287e","tags":["web"]},{"url":"https://github.com/django/django/commit/e89f0a65581f82a5740bfe989136cea75d09cd67","tags":["web"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://pypi.org/project/django","tags":["package"]},{"url":"https://github.com/advisories/GHSA-mwv2-398h-v489","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01308,"epssPercentile":0.71307,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2007-0405","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2007-0405","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2007-0405","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mwv2-398h-v489","ok":true,"note":"GHSA-mwv2-398h-v489"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2007-0405","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}