Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2013-4315

MEDIUM 5.0EPSS 89%

Django Directory Traversal via ssi template tag

Also known as GHSA-vjjp-9r83-22rc, PYSEC-2013-20

Mitigation

  • Upgrade django to one of 1.4.7, 1.5.3 (or later in the same release line).

Who should check

  • Projects that depend on PyPI package django (>= 1.4, < 1.4.7)
  • Anyone running n/a (versions: see the vendor advisory)

Vulnerability facts

Affected
django >= 1.4, < 1.4.7
Fixed in
1.4.7, 1.5.3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.0 (v2.0, NVD)AV:N/AC:L/Au:N/C:P/I:N/A:N
Show all 6 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Authentication: None
  • Confidentiality impact: Partial
  • Integrity impact: None
  • Availability impact: None
EPSS
3.27% chance of exploitation in 30 days (percentile 89, 2026-11-26)
CWE
CWE-22
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI django>= 1.4, < 1.4.71.4.7, 1.5.3osv
n/a——nvd

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2013-4315. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2013-4315.md
Affected: django >= 1.4, < 1.4.7
Fixed in: 1.4.7, 1.5.3

Steps:
1. Search this machine and project for django (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2013-4315 being exploited?

There is no confirmed exploitation: CVE-2013-4315 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.27% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2013-4315?

Medium: CVSS 5.0 (v2.0, scored by NVD). Remote, no login needed.

Which versions are affected by CVE-2013-4315?

django >= 1.4, < 1.4.7.

Is there a fix for CVE-2013-4315?

Yes. Fixed in 1.4.7, 1.5.3. Upgrade django to one of 1.4.7, 1.5.3 (or later in the same release line).

How do I check if I'm affected by CVE-2013-4315?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors