Vulnerabilities in pkg:pypi/Django

PACKAGE
Advisory Identifier: GHSA-wvqv-fj8w-qmhm
Advisory Summary

CVE-2026-15307 is a HIGH (CVSS 8.8) django geodjango spatial lookups allow vulnerability (CWE-73: External Control of File Name or Path) affecting Django libraries in the PyPI ecosystem. The issue involves django geodjango spatial lookups allow file writes and outbound requests through gdal raster parsing. Remediation is available by upgrading affected packages to version 5.2.17, 6.0.8.

148 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/Django

148 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/Django. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-wvqv-fj8w-qmhm CVE-2026-15307 HIGH Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing
GHSA-3gh2-xw74-jmcw CVE-2020-9402 HIGH SQL injection in Django
GHSA-5hrc-gvxj-w55p CVE-2026-6907 LOW Django Uses Cache Containing Sensitive Information
GHSA-w26r-rmm8-9c29 CVE-2026-5766 MODERATE Django has an Improper Handling of Length Parameter Inconsistency
GHSA-mmwr-2jhp-mc7j CVE-2026-4292 LOW Django vulnerable to privilege abuse in ModelAdmin.list_editable
GHSA-pwjp-ccjc-ghwg CVE-2026-4277 LOW Django vulnerable to privilege abuse in GenericInlineModelAdmin
GHSA-7h2m-m8vj-598h CVE-2026-35192 LOW Django Uses Persistent Cookies Containing Sensitive Information
GHSA-mvfq-ggxm-9mc5 CVE-2026-3902 HIGH Django vulnerable to ASGI header spoofing via underscore/hyphen conflation
GHSA-5mf9-h53q-7mhq CVE-2026-33033 MODERATE Django has potential DoS via MultiPartParser through crafted multipart uploads
GHSA-933h-hp56-hf7m CVE-2026-33034 HIGH Django: SGI requests with a missing or understated `Content-Length` header could bypass the `DATA_UPLOAD_MAX_MEMORY_SIZE` limit
GHSA-6426-9fv3-65x8 CVE-2026-1312 MODERATE Django has an SQL Injection issue
GHSA-gvg8-93h5-g6qq CVE-2026-1287 HIGH Django has an SQL Injection issue
GHSA-mwm9-4648-f68q CVE-2026-1207 HIGH Django has an SQL Injection issue
GHSA-4rrr-2h4v-f3j9 CVE-2026-1285 LOW Django has Inefficient Algorithmic Complexity
GHSA-33mw-q7rj-mjwj CVE-2025-14550 LOW Django has Inefficient Algorithmic Complexity
GHSA-2mcm-79hx-8fxw CVE-2025-13473 LOW Django has Observable Timing Discrepancy
GHSA-vrcr-9hj9-jcg6 CVE-2025-64460 MODERATE Django is vulnerable to DoS via XML serializer text extraction
GHSA-rqw2-ghq9-44m7 CVE-2025-13372 MODERATE Django is vulnerable to SQL injection in column aliases
GHSA-hpr9-3m2g-3j9p CVE-2025-59681 HIGH Django vulnerable to SQL injection in column aliases
GHSA-6w2r-r2m5-xq5w CVE-2025-57833 HIGH Django is subject to SQL injection through its column aliases
GHSA-fwr5-q9rx-294f CVE-2010-4534 HIGH Improper query string handling in Django
GHSA-8m3r-rv5g-fcpq CVE-2011-0697 MODERATE Cross-site scripting in django
GHSA-7wph-fc4w-wqp2 CVE-2010-4535 MODERATE Improper date handling in Django
GHSA-5j2h-h5hg-3wf8 CVE-2011-0696 HIGH Cross-site request forgery in Django
GHSA-mjgh-79qc-68w3 CVE-2026-25674 LOW Django has a Race Condition vulnerability
GHSA-8p8v-wh79-9r56 CVE-2026-25673 HIGH Django vulnerable to Uncontrolled Resource Consumption
GHSA-xxj9-f6rv-m3x4 CVE-2024-24680 HIGH Django denial-of-service attack in the intcomma template filter
GHSA-vm8q-m57g-pff3 CVE-2024-27351 MODERATE Regular expression denial-of-service in Django
GHSA-r836-hh6v-rg5g CVE-2024-41991 MODERATE Django vulnerable to denial-of-service attack
GHSA-pv4p-cwwg-4rph CVE-2024-42005 CRITICAL Django SQL injection vulnerability
GHSA-795c-9xpc-xw6g CVE-2024-41990 MODERATE Django vulnerable to a denial-of-service attack
GHSA-jh75-99hh-qvx9 CVE-2024-41989 MODERATE Django memory consumption vulnerability
GHSA-f6f8-9mx6-9mx2 CVE-2024-39614 HIGH Django vulnerable to Denial of Service
GHSA-x7q2-wr7g-xqmf CVE-2024-39329 MODERATE Django vulnerable to user enumeration attack
GHSA-9jmf-237g-qf46 CVE-2024-39330 HIGH Django Path Traversal vulnerability
GHSA-qg2p-9jwr-mmqf CVE-2024-38875 HIGH Django vulnerable to Denial of Service
GHSA-h8gc-pgj2-vjm3 CVE-2023-43665 HIGH Django Denial-of-service in django.utils.text.Truncator
GHSA-7h4p-27mh-hmrw CVE-2023-41164 MODERATE Django Denial of service vulnerability in django.utils.encoding.uri_to_iri
GHSA-jh3w-4vvf-mjgr CVE-2023-36053 HIGH Django has regular expression denial of service vulnerability in EmailValidator/URLValidator
GHSA-7xr5-9hcq-chf9 CVE-2025-48432 MODERATE Django Improper Output Neutralization for Logs vulnerability
GHSA-qcgg-j2x8-h9g8 CVE-2024-56374 MODERATE Django has a potential denial-of-service vulnerability in IPv6 validation
GHSA-8j24-cjrq-gr2m CVE-2025-32873 MODERATE Django has a denial-of-service possibility in strip_tags()
GHSA-89hj-xfx5-7q66 CVE-2014-0473 HIGH Django Reuses Cached CSRF Token
GHSA-wqjj-hx84-v449 CVE-2014-0474 HIGH Django Vulnerable to MySQL Injection
GHSA-rvq6-mrpv-m6rm CVE-2014-0472 CRITICAL Code Injection in Django
GHSA-wqfg-m96j-85vm CVE-2025-27556 MODERATE Django Potential Denial of Service (DoS) on Windows
GHSA-p3fp-8748-vqfq CVE-2025-26699 MODERATE Django vulnerable to Allocation of Resources Without Limits or Throttling
GHSA-mwv2-398h-v489 CVE-2007-0405 MODERATE Django Improper Access Control
GHSA-qc99-g3wm-hgxr CVE-2007-0404 HIGH Django Arbitrary Code Execution
GHSA-2hrw-hx67-34x6 CVE-2023-24580 HIGH Resource exhaustion in Django
GHSA-m9g8-fxxm-xg86 CVE-2024-53908 HIGH Django SQL injection in HasKey(lhs, rhs) on Oracle
GHSA-8498-2h75-472j CVE-2024-53907 MODERATE Django denial-of-service in django.utils.html.strip_tags()
GHSA-8x94-hmjh-97hq CVE-2022-36359 HIGH Django vulnerable to Reflected File Download attack
GHSA-78vx-ggch-wghm CVE-2012-3442 CRITICAL Django Allows Redirect via Data URL
GHSA-q7q2-qf2q-rw3w CVE-2014-1418 CRITICAL Django Vulnerable to Cache Poisoning
GHSA-46x4-9jmv-jc8p CVE-2016-2048 HIGH Django Access Restrictions Bypass
GHSA-3f2c-jm6v-cr35 CVE-2016-9014 CRITICAL Django DNS Rebinding Vulnerability
GHSA-9v8h-57gv-qch6 CVE-2007-5712 HIGH Django vulnerable to Denial of Service via i18n middleware component
GHSA-v6rh-hp5x-86rv CVE-2021-44420 MODERATE Potential bypass of an upstream access control based on URL paths in Django
GHSA-fr28-569j-53c4 CVE-2020-24584 MODERATE Django Incorrect Default Permissions
GHSA-337x-4q8g-prc5 CVE-2019-3498 HIGH Improper Input Validation in Django
GHSA-2f9x-5v75-3qv4 CVE-2018-7537 LOW Django Denial-of-service possibility in truncatechars_html and truncatewords_html template filters
GHSA-wpjr-j57x-wxfw CVE-2020-13254 HIGH Data leakage via cache key collision in Django
GHSA-hvmf-r92r-27hr CVE-2019-19118 HIGH Django allows unintended model editing
GHSA-5hgc-2vfp-mqvc CVE-2024-45230 MODERATE Django vulnerable to denial-of-service attack via the urlize() and urlizetrunc() template filters
GHSA-rrqc-c2jx-6jgv CVE-2024-45231 MODERATE Django allows enumeration of user e-mail addresses
GHSA-h5jv-4p7w-64jg CVE-2019-14233 HIGH Django Denial-of-service in strip_tags()
GHSA-c4qh-4vgv-qc6g CVE-2019-14232 HIGH Django Denial-of-service in django.utils.text.Truncator
GHSA-v9qg-3j8p-r63v CVE-2019-14235 HIGH Uncontrolled Recursion in Django
GHSA-6r97-cj55-9hrq CVE-2019-14234 CRITICAL SQL Injection in Django
GHSA-qmf9-6jqf-j8fq CVE-2023-46695 HIGH Django potential denial of service vulnerability in UsernameField on Windows
GHSA-53qw-q765-4fww CVE-2021-45115 HIGH Denial-of-service in Django
GHSA-7rp2-fm2h-wchj CVE-2019-12308 MODERATE Django Cross-site Scripting in AdminURLFieldWidget
GHSA-p64x-8rxx-wf6q CVE-2022-34265 CRITICAL Django `Trunc()` and `Extract()` database functions vulnerable to SQL Injection
GHSA-xgxc-v2qg-chmh CVE-2021-28658 MODERATE Directory Traversal in Django
GHSA-p99v-5w3c-jqq9 CVE-2021-33571 HIGH Django Access Control Bypass possibly leading to SSRF, RFI, and LFI attacks
GHSA-r3xc-prgr-mg9p CVE-2023-31047 CRITICAL Django bypasses validation when using one form field to upload multiple files
GHSA-2m34-jcjv-45xf CVE-2020-13596 MODERATE XSS in Django
GHSA-q2jf-h9jm-m7p4 CVE-2023-23969 HIGH Django contains Uncontrolled Resource Consumption via cached header
GHSA-fvgf-6h6h-3322 CVE-2021-3281 MODERATE Django Directory Traversal via archive.extract
GHSA-95rw-fx8r-36v6 CVE-2022-22818 MODERATE Cross-site Scripting in Django
GHSA-qrw5-5h28-6cmg CVE-2022-41323 HIGH Django denial-of-service vulnerability in internationalized URLs
GHSA-6cw3-g6wv-c2xv CVE-2022-23833 HIGH Infinite Loop in Django
GHSA-68w8-qjq3-2gfm CVE-2021-33203 MODERATE Path Traversal in Django
GHSA-rxjp-mfm9-w4wr CVE-2021-31542 HIGH Path Traversal in Django
GHSA-qm57-vhq3-3fwf CVE-2021-32052 MODERATE Header injection possible in Django
GHSA-wh4h-v3f2-r2pp CVE-2019-6975 HIGH Uncontrolled Memory Consumption in Django
GHSA-xpfp-f569-q3p2 CVE-2021-35042 CRITICAL SQL Injection in Django
GHSA-2gwj-7jmv-h26r CVE-2022-28346 CRITICAL SQL Injection in Django
GHSA-w24h-v9qh-8gxj CVE-2022-28347 CRITICAL SQL Injection in Django
GHSA-hmr4-m2h5-33qx CVE-2020-7471 CRITICAL SQL injection in Django
GHSA-vfq6-hq5r-27r6 CVE-2019-19844 CRITICAL Django Potential account hijack via password reset form
GHSA-8c5j-9r9f-c6w8 CVE-2021-45116 HIGH Information disclosure in Django
GHSA-jrh2-hc4r-7jwx CVE-2021-45452 MODERATE Directory-traversal in Django
GHSA-m6gj-h9gm-gw44 CVE-2020-24583 HIGH Django Incorrect Default Permissions
GHSA-x38m-486c-2wr9 CVE-2015-5964 MODERATE Denial-of-service possibility in logout() view by filling session store
GHSA-6g95-x6cj-mg4v CVE-2015-0222 HIGH Django database denial-of-service with ModelMultipleChoiceField
GHSA-gv98-g628-m9x5 CVE-2015-0220 MODERATE Django Cross-site Scripting Vulnerability
GHSA-jhjg-w2cp-5j44 CVE-2015-0221 HIGH Django DoS in django.views.static.serve
GHSA-rf4j-j272-fj86 CVE-2018-6188 HIGH Django vulnerable to information leakage in AuthenticationForm
GHSA-r28v-mw67-m5p9 CVE-2018-7536 MODERATE Django denial-of-service possibility in urlize and urlizetrunc template filters
GHSA-vq3h-3q7v-9prw CVE-2014-3730 HIGH Django Allows Open Redirects
GHSA-r7w6-p47g-vj53 CVE-2013-0305 MODERATE Django Data leakage via admin history log
GHSA-g8xg-jgj6-49r3 CVE-2013-0306 MODERATE Django is vulnerable to Denial of Service attack in formset
GHSA-6mx3-3vqg-hpp2 CVE-2018-16984 MODERATE Django allows unprivileged users to read the password hashes of arbitrary accounts
GHSA-vjjp-9r83-22rc CVE-2013-4315 HIGH Django Directory Traversal via ssi template tag
GHSA-2655-q453-22f9 CVE-2012-4520 HIGH Django Allows Arbitrary URL Generation
GHSA-pw27-w7w4-9qc7 CVE-2016-2512 MODERATE Django XSS Vulnerability
GHSA-q5qw-4364-5hhm CVE-2015-5144 HIGH Django Vulnerable to HTTP Response Splitting Attack
GHSA-cqf7-ff9h-7967 CVE-2015-5145 HIGH Django ReDoS in validators.URLValidator
GHSA-crhm-qpjc-cm64 CVE-2016-7401 HIGH Django CSRF Protection Bypass
GHSA-6c7v-2f49-8h26 CVE-2019-12781 MODERATE Django Incorrect HTTP detection with reverse-proxy connecting via HTTPS
GHSA-9cwg-mhxf-hh59 CVE-2013-6044 MODERATE Django cross-site scripting (XSS) vulnerability via is_safe_url function
GHSA-37hp-765x-j95x CVE-2017-7233 MODERATE Django open redirect and possible XSS attack via user-supplied numeric redirect URLs
GHSA-rw75-m7gp-92m3 CVE-2014-0483 MODERATE Django data leakage via querystring manipulation in admin
GHSA-625g-gx8c-xcmg CVE-2014-0482 MODERATE Django Middleware Enables Session Hijacking
GHSA-7fq8-4pv5-5w5c CVE-2015-2317 MODERATE Django cross-site scripting (XSS) attack via user-supplied redirect URLs
GHSA-j3j3-jrfh-cm2w CVE-2015-2316 HIGH Django Denial-of-service possibility with strip_tags
GHSA-4c42-4rxm-x6qf CVE-2013-1443 HIGH Django Denial of Service Vulnerability in the authentication framework
GHSA-mv8g-fhh6-6267 CVE-2016-9013 CRITICAL Django user with hardcoded password created when running tests on Oracle
GHSA-296w-6qhq-gf92 CVE-2014-0481 HIGH Django denial of service via file upload naming
GHSA-9r8w-6x8c-6jr9 CVE-2017-12794 MODERATE Django vulnerable to XSS on 500 pages
GHSA-f7cm-ccfp-3q4r CVE-2014-0480 HIGH Django Incorrectly Validates URLs
GHSA-h582-2pch-3xv3 CVE-2015-5143 HIGH Django Denial-of-service by filling session store
GHSA-h4hv-m4h4-mhwg CVE-2017-7234 MODERATE Django open redirect
GHSA-7qfw-j7hp-v45g CVE-2015-0219 MODERATE Django WSGI Header Spoofing Vulnerability
GHSA-6565-fg86-6jcx CVE-2015-2241 MODERATE Django Cross-site Scripting Vulnerability
GHSA-6wcr-wcqm-3mfh CVE-2015-8213 MODERATE Django settings leak in date template filter
GHSA-fp6p-5xvw-m74f CVE-2016-2513 LOW Django User Enumeration Vulnerability
GHSA-59w8-4wm2-4xw8 CVE-2012-3443 HIGH Django Image Field Vulnerable to Image Decompression Bombs
GHSA-c8c8-9472-w52h CVE-2016-6186 MODERATE Django Cross-site scripting Vulnerability
GHSA-6wgp-fwfm-mxp3 CVE-2015-3982 MODERATE Django allows user sessions hijacking via an empty string in the session key
GHSA-pgxh-wfw4-jx2v CVE-2015-5963 MODERATE Django denial of service via empty session record creation
GHSA-5hg3-6c2f-f3wr CVE-2018-14574 MODERATE Django open redirect
GHSA-x88j-93vc-wpmp CVE-2011-4136 MODERATE Session manipulation in Django
GHSA-fxpg-gg9g-76gj CVE-2010-3082 MODERATE Cross-site scripting in django
GHSA-rm2j-x595-q9cj CVE-2011-4139 HIGH Django Vulnerable to Cache Poisoning
GHSA-3jqw-crqj-w8qw CVE-2011-4137 HIGH Denial of service in django
GHSA-r5cj-wv24-92p5 CVE-2008-3909 HIGH Django cross-site request forgery (CSRF) vulnerability
GHSA-wxg3-mfph-qg9w CVE-2011-4138 HIGH Django Might Allow CSRF Requests via URL Verification
GHSA-9xg7-gg9m-rmq9 CVE-2009-2659 HIGH Django Admin Media Handler Vulnerable to Directory Traversal
GHSA-h95j-h2rv-qrg4 CVE-2011-4140 HIGH Django Cross-Site Request Forgery vulnerability
GHSA-p6m5-h7pp-v2x5 CVE-2009-3695 HIGH Django Regex Algorithmic Complexity Causes Denial of Service
GHSA-7g9h-c88w-r7h2 CVE-2011-0698 CRITICAL Directory traversal in Django
GHSA-54qj-48vx-cr9f CVE-2008-2302 MODERATE Django Cross-site scripting (XSS) vulnerability
GHSA-5h2q-4hrp-v9rr CVE-2012-3444 HIGH Django vulnerable to Improper Restriction of Operations within the Bounds of a Memory Buffer
GHSA-x64m-686f-fmm3 CVE-2013-1665 MODERATE XML External Entity (XXE) in Django
GHSA-qrh7-x6fp-c2mp CVE-2013-1664 MODERATE XML Entity Expansion (XEE) in Django

CVE-2026-15307 at a Glance

CVE Identifier CVE-2026-15307
GHSA Identifier GHSA-wvqv-fj8w-qmhm
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-73: External Control of File Name or Path
Affected Product Django
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-15307

To remediate this vulnerability, upgrade all affected Django dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Django fixed: 5.2.17
pip install Django>=5.2.17
Django fixed: 6.0.8
pip install Django>=6.0.8
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show Django

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-15307, inspect your installed packages using pip:

pip show Django

Analyze the terminal output to locate any version of Django in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.2.17), your application is affected.

Note: The pip show Django command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-73: External Control of File Name or Path, where the product allows user input to control or influence paths or file names that are used in filesystem operations. In Django, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8. GeoDjango spatial lookups optimistically parse the right-hand-side value as a raster by passing it to the `django.contrib.gis.gdal.GDALRaster` constructor. Any value used in a spatial lookup against a `GeometryField` or `RasterField` reaches this constructor, including untrusted input, for example a spatial-field filter submitted through the Django admin changelist query string by a staff user with view permission. A `dict`, or a `str` holding its JSON representation, is opened in write mode regardless of the constructor's `write=False` default, allowing a file with an attacker-chosen name and contents to be written through a file-backed GDAL driver. Any other `str` is treated as a datasource, allowing an outbound network request through a GDAL virtual filesystem handler. Writing a file to a location later imported by the application can result in remote code execution. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Bence Nagy, localhost-detect, and kimchunbok_ for reporting this issue.

CVE-2026-15307 Affected Django Versions

2 component(s)
Fixed Versions:
5.2.176.0.8
Product / Package Ecosystem Affected Versions Fixed Version
Django
PyPI
< 5.2.17
5.2.17
Django
PyPI
≥ 6.0a1
< 6.0.8
6.0.8

References

Frequently Asked Questions

What is CVE-2026-15307?
CVE-2026-15307 is a security vulnerability in Django involving Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing under CWE-73: External Control of File Name or Path.
Which Django versions are affected?
Affected versions include releases prior to 5.2.17, 6.0.8 across affected packages: Django.
What version fixes CVE-2026-15307?
Upgrading to 5.2.17, 6.0.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Django affected?
Yes, Django is affected in releases prior to 5.2.17, 6.0.8. Upgrade your dependency to 5.2.17, 6.0.8 or later.
What is the CVSS score of CVE-2026-15307?
CVE-2026-15307 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-15307?
CVE-2026-15307 is classified under CWE-73: External Control of File Name or Path (The product allows user input to control or influence paths or file names that are used in filesystem operations.).
How can I check PyPI dependencies for CVE-2026-15307?
Run the dependency tree command: 'pip show Django'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wvqv-fj8w-qmhm",
  "modified" : "2026-09-30T23:25:46Z",
  "published" : "2026-08-04T18:31:27Z",
  "aliases" : [ "CVE-2026-15307" ],
  "summary" : "Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing",
  "details" : "An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8.\nGeoDjango spatial lookups optimistically parse the right-hand-side value as a raster by passing it to the `django.contrib.gis.gdal.GDALRaster` constructor. Any value used in a spatial lookup against a `GeometryField` or `RasterField` reaches this constructor, including untrusted input, for example a spatial-field filter submitted through the Django admin changelist query string by a staff user with view permission. A `dict`, or a `str` holding its JSON representation, is opened in write mode regardless of the constructor's `write=False` default, allowing a file with an attacker-chosen name and contents to be written through a file-backed GDAL driver. Any other `str` is treated as a datasource, allowing an outbound network request through a GDAL virtual filesystem handler. Writing a file to a location later imported by the application can result in remote code execution.\nEarlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected.\nDjango would like to thank Bence Nagy, localhost-detect, and kimchunbok_ for reporting this issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Django"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.2.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Django"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0a1"
      }, {
        "fixed" : "6.0.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-15307"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/django/django/commit/115ffd0463a765ab1cc93de18e94b5459b8a300e"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/django/django/commit/208f80cb682868b584ed0a78f23e4ba6304212aa"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/django/django/commit/39b3e2d0c743a338def6c473086ebc06865e86b6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/django/django/commit/f1949c1f9758947ade984c895ff16bef46f56520"
  }, {
    "type" : "WEB",
    "url" : "https://docs.djangoproject.com/en/dev/releases/security"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/django/django"
  }, {
    "type" : "WEB",
    "url" : "https://groups.google.com/g/django-announce"
  }, {
    "type" : "WEB",
    "url" : "https://www.djangoproject.com/weblog/2026/aug/04/security-releases"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-73" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-30T23:25:46Z",
    "nvd_published_at" : "2026-08-04T17:16:46Z"
  }
}