Live threats

All CVEs / Djangoproject

CVE-2013-4315Djangoproject Django

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
3.3%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
Sep 16, 2013
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

Directory traversal vulnerability in Django 1.4.x before 1.4.7, 1.5.x before 1.5.3, and 1.6.x before 1.6 beta 3 allows remote attackers to read arbitrary files via a file path in the ALLOWED_INCLUDE_ROOTS setting followed by a .. (dot dot) in a ssi template tag.

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 ≥ 1.4 < 1.4.7 1.4.7 pip install "django>=1.4.7"
PyPI django ≥ 1.5 < 1.5.3 1.5.3 pip install "django>=1.5.3"
PyPI django ≥ 1.4 < 1.4.7 1.4.7 pip install "django>=1.4.7"
PyPI django ≥ 1.5 < 1.5.3 1.5.3 pip install "django>=1.5.3"

Per OSV / GitHub Advisories (GHSA-vjjp-9r83-22rc, PYSEC-2013-20). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango1.4
djangoprojectdjango1.4.1
djangoprojectdjango1.4.2
djangoprojectdjango1.4.4
djangoprojectdjango1.4.5
djangoprojectdjango1.4.6
djangoprojectdjango1.5
djangoprojectdjango1.5
djangoprojectdjango1.5
djangoprojectdjango1.5.1
djangoprojectdjango1.6
djangoprojectdjango1.6

Official sources

References

Links published by the sources. Open them with care.