{"schemaVersion":3,"id":"CVE-2007-0405","aliases":["GHSA-mwv2-398h-v489","PYSEC-2026-629","DEBIAN-CVE-2007-0405"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2007-01-23T00:00:00.000Z","modified":"2024-08-07T12:19:29.955Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01308,"percentile":0.70335,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.04899999999999991,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01259},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01308,"percentile":0.70335}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01259,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01308,"percentile":0.70335}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"debian","product":"python-django","name":"python-django","label":"python-django","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-django","purlType":"deb","versions":[{"text":"< 0.95.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.95.1-1","eol":null,"hubHref":null},{"vendor":"django_project","product":"django","name":"django","label":"django","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.95","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.95","eol":null,"hubHref":"/vendor/django_project/django"},{"vendor":"PyPI","product":"django","name":"django","label":"django","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/django","purlType":"pypi","versions":[{"text":"≥ 0.95, < 1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.95, < 1.0","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/31628","label":"exchange.xforce.ibmcloud.com/vulnerabilities/31628","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF","WEB"]},{"url":"http://secunia.com/advisories/23826","label":"secunia.com/advisories/23826","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Patch","Vendor Advisory"]},{"url":"http://code.djangoproject.com/changeset/3754","label":"code.djangoproject.com/changeset/3754","hostname":"code.djangoproject.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://www.securityfocus.com/bid/22138","label":"www.securityfocus.com/bid/22138","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-0405","label":"nvd.nist.gov/vuln/detail/CVE-2007-0405","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/django/django/commit/3c5782287e","label":"github.com/django/django/commit/3c5782287e","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django/commit/e89f0a65581f82a5740bfe989136cea75d09cd67","label":"github.com/django/django/commit/e89f0a65581f82a5740bfe989136cea75d09cd67","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/django/django","label":"github.com/django/django","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/django","label":"pypi.org/project/django","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-mwv2-398h-v489","label":"github.com/advisories/GHSA-mwv2-398h-v489","hostname":"github.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2007-0405","label":"security-tracker.debian.org/tracker/CVE-2007-0405","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2007-01-23T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-07T12:19:29.955Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T13:21:25.515Z","stale":false,"partial":false}}