Live threats

All CVEs / Djangoproject

CVE-2011-4136Djangoproject Django

Medium 5.8 No auth needed

Priority
50
CVSS 2.0
5.8
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Oct 19, 2011
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:P

What happens

django.contrib.sessions in Django before 1.2.7 and 1.3.x before 1.3.1, when session data is stored in the cache, uses the root namespace for both session identifiers and application-data keys, which allows remote attackers to modify a session by triggering use of a key that is equal to that session's identifier.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django < 1.2.7 1.2.7 pip install "django>=1.2.7"
PyPI django ≥ 1.3 < 1.3.1 1.3.1 pip install "django>=1.3.1"
PyPI django < 1.2.7 1.2.7 pip install "django>=1.2.7"
PyPI django ≥ 1.3 < 1.3.1 1.3.1 pip install "django>=1.3.1"

Per OSV / GitHub Advisories (GHSA-x88j-93vc-wpmp, PYSEC-2011-1). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≤ 1.2.6
djangoprojectdjango0.91
djangoprojectdjango0.95
djangoprojectdjango0.95.1
djangoprojectdjango0.96
djangoprojectdjango1.0
djangoprojectdjango1.0.1
djangoprojectdjango1.0.2
djangoprojectdjango1.1
djangoprojectdjango1.1.0
djangoprojectdjango1.1.2
djangoprojectdjango1.1.3
djangoprojectdjango1.2
djangoprojectdjango1.2.1
djangoprojectdjango1.2.1
djangoprojectdjango1.2.2
djangoprojectdjango1.2.3
djangoprojectdjango1.2.4
djangoprojectdjango1.2.5
djangoprojectdjango1.3
djangoprojectdjango1.3
djangoprojectdjango1.3

Official sources

References

Links published by the sources. Open them with care.