Live threats

All CVEs / Django Project

CVE-2009-2659Django Project Django

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Aug 4, 2009
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 0.96.0 < 0.96.4 0.96.4 pip install "django>=0.96.4"
PyPI django ≥ 1.0 < 1.0.3 1.0.3 pip install "django>=1.0.3"
PyPI django < 1.1 1.1 pip install "django>=1.1"

Per OSV / GitHub Advisories (GHSA-9xg7-gg9m-rmq9, PYSEC-2009-3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
django_projectdjango0.96
django_projectdjango1.0

Official sources

References

Links published by the sources. Open them with care.