PYSEC-2026-629
Vulnerability from pysec - Published: 2026-07-02 14:13 - Updated: 2026-07-02 14:13
VLAI
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.
Impacted products
| Name | purl | django | pkg:pypi/django |
|---|
Aliases
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "django",
"purl": "pkg:pypi/django"
},
"ranges": [
{
"events": [
{
"introduced": "0.95"
},
{
"fixed": "1.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.95"
]
}
],
"aliases": [
"CVE-2007-0405",
"GHSA-mwv2-398h-v489"
],
"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.",
"id": "PYSEC-2026-629",
"modified": "2026-07-02T14:13:19.912742Z",
"published": "2026-07-02T14:13:19.912742Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2007-0405"
},
{
"type": "WEB",
"url": "https://github.com/django/django/commit/3c5782287e"
},
{
"type": "WEB",
"url": "https://github.com/django/django/commit/e89f0a65581f82a5740bfe989136cea75d09cd67"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/31628"
},
{
"type": "PACKAGE",
"url": "https://github.com/django/django"
},
{
"type": "WEB",
"url": "http://code.djangoproject.com/changeset/3754"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/django"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-mwv2-398h-v489"
}
],
"summary": "Django Improper Access Control"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…