{"id":"CVE-2009-2659","aliases":["GHSA-9xg7-gg9m-rmq9","PYSEC-2009-3"],"url":"https://o3.security/vulnerability/CVE-2009-2659","summary":"Django Admin Media Handler Vulnerable to Directory Traversal","details":"The Admin media handler in core/servers/basehttp.py in Django 1.0 and 0.96 does not properly map URL requests to expected \"static media files,\" which allows remote attackers to conduct directory traversal attacks and read arbitrary files via a crafted URL.","published":"2009-08-04T16:30:00Z","modified":"2026-04-10T03:40:50.371155Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":{"score":0.02284,"percentile":0.8183,"asOf":"2026-08-21"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"0.96.4"},{"ecosystem":"PyPI","name":"django","fixedVersion":"1.0.3"}],"fix":{"url":"https://github.com/django/django/commit/da85d76fd6ca846f3b0ff414e042ddb5e62e2e69","label":"django/django@da85d76"},"references":[{"type":"ADVISORY","url":"http://secunia.com/advisories/36137"},{"type":"ADVISORY","url":"http://secunia.com/advisories/36153"},{"type":"ADVISORY","url":"http://www.djangoproject.com/weblog/2009/jul/28/security/"},{"type":"WEB","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539134"},{"type":"WEB","url":"http://code.djangoproject.com/changeset/11353"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2009/07/29/2"},{"type":"WEB","url":"http://www.securityfocus.com/bid/35859"},{"type":"WEB","url":"https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00055.html"},{"type":"WEB","url":"https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00069.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2009-2659"},{"type":"WEB","url":"https://github.com/django/django/commit/da85d76fd6ca846f3b0ff414e042ddb5e62e2e69"},{"type":"WEB","url":"https://github.com/django/django/commit/df7f917b7f51ba969faa49d000ffc79572c5dcb4"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-3.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20111211001428/http://www.securityfocus.com/bid/35859"},{"type":"WEB","url":"http://www.djangoproject.com/weblog/2009/jul/28/security"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-10T03:40:50.371155Z"}}