Home / Django Project / Django / CVE-2009-2659
CVE-2009-2659: is it exploited, and which versions of Django Project Django are affected and fixed?
CVE-2009-2659 is a path traversal (reading or writing files outside the intended folder) vulnerability in Django Project Django. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: Django from 0.96.0 before 0.96.4 and Django from 1.0 before 1.0.3 (GitHub advisory GHSA-9xg7-gg9m-rmq9). Fixed in 0.96.4 and 1.0.3 (GitHub advisory GHSA-9xg7-gg9m-rmq9). Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
What is CVE-2009-2659?
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.
From the CVE record by mitre, last updated August 7, 2024, 05:59 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | Django | >= 0.96.0, < 0.96.4 | 0.96.4 | GHSA-9xg7-gg9m-rmq9 |
| PyPI | Django | >= 1.0, < 1.0.3 | 1.0.3 | GHSA-9xg7-gg9m-rmq9 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 16, 2024. Summary: Django Admin Media Handler Vulnerable to Directory Traversal.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| django project | django | 0.96 | application |
| django project | django | 1.0 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:09 UTC.
How severe is CVE-2009-2659?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2009-2659 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.27% probability of exploitation activity in the next 30 days, percentile 83.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- [oss-security] 20090729 CVE Request (django) mailing-list, x_refsource_MLIST
- 35859 vdb-entry, x_refsource_BID
- http://code.djangoproject.com/changeset/11353 x_refsource_CONFIRM
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539134 x_refsource_CONFIRM
- FEDORA-2009-8169 vendor-advisory, x_refsource_FEDORA
- 36137 third-party-advisory, x_refsource_SECUNIA
- 36153 third-party-advisory, x_refsource_SECUNIA
- FEDORA-2009-8177 vendor-advisory, x_refsource_FEDORA
- http://www.djangoproject.com/weblog/2009/jul/28/security/ x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- August 4, 2009
- Published
- August 4, 2009, 16:13 UTC
- CVE record updated
- August 7, 2024, 05:59 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:09 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Django?
- May 23, 2008CVE-2008-2302 Django Project Django: cross-site scripting (XSS)
- Nov 5, 2007CVE-2007-5828 Django Project Django: cross-site request forgery (CSRF) disputed
- Oct 30, 2007CVE-2007-5712 Django Project Django: denial of service (uncontrolled resource consumption)
- Jan 23, 2007CVE-2007-0405 Django Project Django: n/a
- Jan 23, 2007CVE-2007-0404 Django Project Django: n/a
Questions about CVE-2009-2659
Is CVE-2009-2659 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 2.27% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Django Project Django are affected by CVE-2009-2659?
Django from 0.96.0 before 0.96.4 and Django from 1.0 before 1.0.3, per the GitHub advisory GHSA-9xg7-gg9m-rmq9. The tables above give every range the sources list.
Which version fixes CVE-2009-2659?
0.96.4 and 1.0.3, per the GitHub advisory GHSA-9xg7-gg9m-rmq9. Check the vendor's advisory before you rely on it.
How severe is CVE-2009-2659?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2009-2659?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.