{"id":"CVE-2011-4136","aliases":["GHSA-x88j-93vc-wpmp","PYSEC-2011-1"],"kind":"cve","tier":"cold","status":"published","title":"Session manipulation in Django","description":"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.","ai_summary":null,"severity":"medium","cvss":{"score":5.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","source":"NVD"},"scores":[{"score":5.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","source":"nvd"}],"cwe":["CWE-20"],"remote":true,"remote_unauth":true,"epss":{"score":0.02284,"percentile":0.83886,"date":"2026-11-28"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"PyPI","name":"django","affected":"< 1.2.7","fixed":["1.2.7","1.3.1"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade django to one of 1.2.7, 1.3.1 (or later in the same release line).","technologies":[],"references":[{"url":"https://hermes.opensuse.org/messages/14700881","kind":"vendor"},{"url":"http://www.debian.org/security/2011/dsa-2332","kind":"vendor"},{"url":"http://secunia.com/advisories/46614","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-4136","kind":"vendor"},{"url":"https://github.com/advisories/GHSA-x88j-93vc-wpmp","kind":"vendor"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=737366","kind":"patch"},{"url":"http://openwall.com/lists/oss-security/2011/09/11/1","kind":"patch"},{"url":"https://www.djangoproject.com/weblog/2011/sep/10/127/","kind":"patch"},{"url":"http://openwall.com/lists/oss-security/2011/09/13/2","kind":"patch"},{"url":"https://www.djangoproject.com/weblog/2011/sep/09/","kind":"patch"},{"url":"https://github.com/django/django/commit/ac7c3a110f906e4dfed3a17451bf7fd9fcb81296","kind":"patch"},{"url":"https://github.com/django/django/commit/fbe2eead2fa9d808658ca582241bcacb02618840","kind":"patch"},{"url":"https://github.com/django/django","kind":"other"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-1.yaml","kind":"other"},{"url":"https://www.djangoproject.com/weblog/2011/sep/09","kind":"other"},{"url":"https://www.djangoproject.com/weblog/2011/sep/10/127","kind":"other"}],"workarounds":null,"vendors":["djangoproject"],"products":["django"],"cpes":["cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:0.91:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:0.95.1:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:0.95:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:0.96:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.0.1:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.0.2:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.0:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.1.0:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.1.2:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.1.3:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.1:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.2.1:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.2.1:2:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.2.2:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.2.3:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.2.4:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.2.5:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.2:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.3:*:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.3:alpha1:*:*:*:*:*:*","cpe:2.3:a:djangoproject:django:1.3:alpha2:*:*:*:*:*:*"],"published_at":"2011-10-19T10:00:00.000Z","modified_at":"2026-06-16T23:34:29.537Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-4136"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-x88j-93vc-wpmp","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/PYSEC-2011-1","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2011-4136","markdown":"https://flawdb.com/CVE-2011-4136.md","json":"https://flawdb.com/api/v1/entries/CVE-2011-4136"}}