CVE-2009-2659
MEDIUM 5.0CVSS 2.0Django Admin Media Handler Vulnerable to Directory Traversal
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
- 4 Aug 2009
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-9xg7-gg9m-rmq9PYSEC-2009-3
- Sources
- NVDJSONOSV GHSA-9xg7-gg9m-rmq9JSONOSV PYSEC-2009-3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | django_project | djangocpe:2.3:a:django_project:django:0.96:*:*:*:*:*:*:* |
= 0.96 | |
| NVD | django_project | djangocpe:2.3:a:django_project:django:1.0:*:*:*:*:*:*:* |
= 1.0 | |
| OSV | PyPI | django | >= 0.96.0, < 0.96.4 | 0.96.4 |
| OSV | PyPI | django | >= 1.0, < 1.0.3 | 1.0.3 |
| OSV | PyPI | django | < 1.1 | 1.1 |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539134 · WEB
- http://code.djangoproject.com/changeset/11353 · WEB
- http://secunia.com/advisories/36137 · ADVISORY
- http://secunia.com/advisories/36153 · ADVISORY
- http://www.djangoproject.com/weblog/2009/jul/28/security/ · Patch, Vendor Advisory, WEB, ARTICLE
- http://www.openwall.com/lists/oss-security/2009/07/29/2 · WEB
- http://www.securityfocus.com/bid/35859 · WEB
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00055.html · WEB
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00069.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2009-2659 · ADVISORY
- https://github.com/django/django/commit/da85d76fd6ca846f3b0ff414e042ddb5e62e2e69 · WEB
- https://github.com/django/django/commit/df7f917b7f51ba969faa49d000ffc79572c5dcb4 · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-3.yaml · WEB
- https://web.archive.org/web/20111211001428/http://www.securityfocus.com/bid/35859 · WEB
- https://github.com/advisories/GHSA-9xg7-gg9m-rmq9 · ADVISORY
History
- 25 Nov 2026 20:15 UTC · NVD: first stored (published 4 Aug 2009)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Aug 2009)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 May 2022)