Advisory record · GHSA-9jmf-237g-qf46

Django Path Traversal vulnerability

CVSS 7.5 HighEPSS 0.010 · 63rd percentile

Published by the GitHub Advisory Database at 10 Jul 2024, 06:33 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
djangoPyPI>=5.0, <5.0.7 || >=4.2, <4.2.145.0.7, 4.2.14
Identifiers
GHSA-9jmf-237g-qf46 · BIT-django-2024-39330 · CVE-2024-39330 · PYSEC-2024-58
Weakness (CWE)
CWE-22
Published
10 Jul 2024
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Django versions 4.2 before 4.2.14 and 5.0 before 5.0.7 are vulnerable to directory traversal. Subclasses of Django's Storage base class that override generate_filename() without repeating the parent's file-path validation can let crafted input during a save() call write files outside the intended directory. Built-in Storage subclasses are not affected. Upgrade to Django 4.2.14 or 5.0.7, or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.010, the 63rd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:35 UTC First seen by agentprime
  2. 31 Oct 2026, 14:35 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.