CVE-2009-2659 json
Django Admin Media Handler Vulnerable to Directory Traversal
published 2009-08-04 17 y ago modified 2026-06-16 4 mo ago also GHSA-9xg7-gg9m-rmq9 , PYSEC-2009-3 , EUVD-2009-0003
- cvss
- 7.5
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi django 0.96.4, 1.0.3, 1.1
- python-django Debian 14, Debian 13, Debian 12 1.1-1
debian advisories DEBIAN-CVE-2009-2659
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-2659 updated
Django directory traversal flaw
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.27% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=0.96.0, <0.96.4 >=1.0, <1.0.3 <1.1 |
0.96.4 1.0.3 1.1 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
djangoproject.com
/weblog/2009/jul/28/security/
patch, vendor-advisory, article
-
github.com
/django/django/commit/da85d76fd6ca846f3b0ff414e042ddb5e62e2e69
web
-
github.com
/django/django/commit/df7f917b7f51ba969faa49d000ffc79572c5dcb4
web
-
redhat.com
/archives/fedora-package-announce/2009-August/msg00055.html
vendor-advisory, web
-
redhat.com
/archives/fedora-package-announce/2009-August/msg00069.html
vendor-advisory, web
-
openwall.com
/lists/oss-security/2009/07/29/2
mailing-list, web
-
securityfocus.com
/bid/35859
vdb-entry, web
-
code.djangoproject.com
/changeset/11353
web
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=539134
web
-
secunia.com
/advisories/36137
third-party-advisory, advisory
-
secunia.com
/advisories/36153
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2009-2659
advisory
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2009-3.yaml
web
-
web.archive.org
/web/20111211001428/http://www.securityfocus.com/bid/35859
web
-
djangoproject.com
/weblog/2009/jul/28/security
web
-
github.com
/advisories/GHSA-9xg7-gg9m-rmq9
advisory
Sources
- CVE List CVE-2009-2659
- GitHub Advisory GHSA-9xg7-gg9m-rmq9
- NVD CVE-2009-2659
- OSV PYSEC-2009-3
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.