CVE-2026-15830django Uncontrolled Recursion
NVD
Vulnerability 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.
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.
CVSS v4.0 Base Metrics — Score 6.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.3)
CVSS v3.1 Base Metrics — Score 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityLow
Affected & Patched Versions
- django < 5.2.17
- django >= 6.0a1, < 6.0.8
- django >= 6.1a1, < 6.1.1
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run django and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
Timeline
- Aug 4, 2026Published
- Oct 12, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new django CVEsYou are reading CVE-2026-15830. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore django CVEs
External References
- CVE Recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-15830
- Patchhttps://github.com/django/django/commit/6af5da31775417c610dbf9c3f1b5b8333d42daf6
- Patchhttps://github.com/django/django/commit/9e4a3f186b6b07b483bfd9195ea06734663fcd06
- Patchhttps://github.com/django/django/commit/ba80833fa656dd09660b97c4429331067db1b080
- Patchhttps://github.com/django/django/commit/d2e59b77fe18de318a8272c2a7bbc798d84d1d0d
- Referencehttps://docs.djangoproject.com/en/dev/releases/security
- Referencehttps://groups.google.com/g/django-announce
- Referencehttps://www.djangoproject.com/weblog/2026/aug/04/security-releases
- Vendor Advisoryhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2026-3717.yaml
- Patchhttps://github.com/django/django/commit/1eafa1a80f1363283f89208ba4499ed54e35f085
- Patchhttps://github.com/django/django/commit/4353dfb56f8ba3a6fccc4bdd7f2ef2fbee3aa638
- Patchhttps://github.com/django/django/commit/62ef9d40cf4ea75f16518436b44b8ab2515340df
- Patchhttps://github.com/django/django/commit/75d401a1491e04a907ed745c128836d51c982c0f
- Referencehttps://github.com/advisories/GHSA-q238-5cxm-5c9h
Data last checked: Sep 30, 2026 22:57 UTC