UNKNOWN PyPI
Django Improper Access Control
GHSA-mwv2-398h-v489 · CVE-2007-0405 · PYSEC-2026-629
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2007-0405
- WEB https://github.com/django/django/commit/3c5782287e
- WEB https://github.com/django/django/commit/e89f0a65581f82a5740bfe989136cea75d09cd67
- WEB https://exchange.xforce.ibmcloud.com/vulnerabilities/31628
- PACKAGE https://github.com/django/django
- WEB http://code.djangoproject.com/changeset/3754
Ready to move
Start Securing
Free, no credit card | First findings in minutes