PYSEC-2026-629

    Dashboard / Vulnerabilities / PYSEC-2026-629

    PYSEC-2026-629

    Published: 2 Jul 2026Last Modified: 6 Jul 2026

    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.

    Affected packages

    Package

    Name: django

    Purl: pkg:pypi/django

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0.95
    Fixed -1.0

    Affected versions

    0.95

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2026-629 | CVE-DB