CVE-2026-15830 — Vulnerability in django — CVE Details
Django GeoDjango vulnerable to denial of service through deeply nested geometry collections
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.11%). Schedule for your next planned update.
Does your project use an affected django version?
Paste your requirements.txt to check it for CVE-2026-15830 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8.
GeoDjango's django.contrib.gis.geos.GEOSGeometry is subject to a potential denial-of-service when parsing deeply nested GEOMETRYCOLLECTION objects supplied as well-known text (WKT), well-known binary (WKB), or hex-encoded WKB, which triggers unbounded recursion and a segmentation fault in the underlying GEOS library. Spatial field lookups and the django.contrib.gis.forms.GeometryField form field are also affected.
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 Andrew MacPherson and kimchunbok_ for reporting this issue.
Advisory Timeline
- First published August 4, 2026 (114 days ago).
- Last revised October 12, 2026 — 69 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "django>=6.0.8"
pip install "django>=5.2.17"
pip install "django>=6.1.1"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: PyPI (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-674
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-15830ADVISORY
- https://github.com/django/django/commit/1eafa1a80f1363283f89208ba4499ed54e35f085WEB
- https://github.com/django/django/commit/4353dfb56f8ba3a6fccc4bdd7f2ef2fbee3aa638WEB
- https://github.com/django/django/commit/62ef9d40cf4ea75f16518436b44b8ab2515340dfWEB
- https://github.com/django/django/commit/6af5da31775417c610dbf9c3f1b5b8333d42daf6WEB
- https://github.com/django/django/commit/75d401a1491e04a907ed745c128836d51c982c0fWEB
- https://github.com/django/django/commit/9e4a3f186b6b07b483bfd9195ea06734663fcd06WEB
- https://github.com/django/django/commit/ba80833fa656dd09660b97c4429331067db1b080WEB
- https://github.com/django/django/commit/d2e59b77fe18de318a8272c2a7bbc798d84d1d0dWEB
- https://docs.djangoproject.com/en/dev/releases/securityWEB
- https://github.com/advisories/GHSA-q238-5cxm-5c9hADVISORY
- https://github.com/django/djangoPACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-3717.yamlWEB
- https://groups.google.com/g/django-announceWEB
- https://www.djangoproject.com/weblog/2026/aug/04/security-releasesWEB
Frequently Asked Questions
- What is CVE-2026-15830?
- Django GeoDjango vulnerable to denial of service through deeply nested geometry collections. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.3/10).
- How do I check if my project is affected by CVE-2026-15830?
- CVE-2026-15830 affects django. It has a 1.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-15830 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 65.6% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-14550HIGH
- CVE-2025-57833HIGH
Django is subject to SQL injection through its column aliases
- CVE-2026-3902HIGH
Django vulnerable to ASGI header spoofing via underscore/hyphen conflation
- CVE-2026-1207HIGH
Django has an SQL Injection issue
- CVE-2024-41990MEDIUM
Django vulnerable to a denial-of-service attack
- CVE-2020-24584
- CVE-2024-39329
- CVE-2024-39330