ADVISORIES

PyPA Advisory Database

PYSEC-2026-629

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

EcosystemPackageAffected versions
PyPIdjango
From 0.95 before 1.0 (fixed in 1.0)

References