PYSEC-2026-629
Dashboard / Vulnerabilities / PYSEC-2026-629
PYSEC-2026-629
Summary: Django Improper Access Control
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2007-0405, https://github.com/django/django/commit/3c5782287e, https://github.com/django/django/commit/e89f0a65581f82a5740bfe989136cea75d09cd67, https://exchange.xforce.ibmcloud.com/vulnerabilities/31628, https://github.com/django/django, http://code.djangoproject.com/changeset/3754, https://pypi.org/project/django, https://github.com/advisories/GHSA-mwv2-398h-v489
Affected packages
Package
Name: django
Purl: pkg:pypi/django
Affected ranges
Type: ECOSYSTEM
Events:
