Skip to main content
VulnerabilityPublished

CVE-2026-124827: djangoproject Django · External Control of File Name or Path

Affects djangoproject DjangoSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.8 High · fixed in 6.1.4 : patch djangoproject Django soon.

Data as of 2 Dec 2026, 13:32 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (DSF)CVSS 3.18.8
CNA (DSF)CVSS 4.08.7
Patch
Available – fixed in 6.1.4, 6.0.11, 5.2.20
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade Django and django to 6.1.4, 6.0.11 or 5.2.20.

Affected software

ProductAffectedFixed in
DjangodjangoAffected
  • >=6.1 <6.1.4
Fixed in
  • 6.1.4
DjangodjangoAffected
  • >=6.0 <6.0.11
Fixed in
  • 6.0.11
DjangodjangoAffected
  • >=5.2 <5.2.20
Fixed in
  • 5.2.20
PyPIdjangopkg:pypi/djangoOther threatsAffected
  • >=6.1 <6.1.4
  • >=6.0 <6.0.11
  • >=5.2 <5.2.20
Fixed in
  • 6.1.4
  • 6.0.11
  • 5.2.20

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade affected Django versions to 6.1.4, 6.0.11, or 5.2.20 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.

Description

CVE-2026-124827 is a high-severity vulnerability in Django's RasterField component that allows external control of file names or paths. This flaw exists in Django versions 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. An attacker can exploit the 'name' parameter to create files at arbitrary locations, potentially leading to remote code execution depending on the raster driver used. The issue was reported by Mohammed Fathy and has been fixed in the specified patched versions.

References

Community reviews

Loading reviews…