CVE-2025-26699
Django vulnerable to Allocation of Resources Without Limits or Throttling
Reported by mitre · Published March 6, 2025
django is fixed in 5.1.7, 5.0.13 and 4.2.20 (PyPI)
An issue was discovered in Django 5.1 before 5.1.7, 5.0 before 5.0.13, and 4.2 before 4.2.20. The django.utils.text.wrap() method and wordwrap template filter are subject to a potential denial-of-service attack when used with very long strings.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| django | PyPI | 5.1.7, 5.0.13, 4.2.20 |
| awx | Chainguard | 24.6.1-r4 |
| django | Bitnami | 5.1.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | Django | 4.2, 5.0, 5.1 |
| PyPI | Django | 4.2, 5.1, 5.0 |
| chainguard | awx | 0 |
| djangoproject | django | 5.1, 4.2, 5.0 |
| djangoproject | django | |
| alpine | py3-django | 0 |
| djangoproject | Django | 5.0, 4.2, 5.1 |
Timeline
- Feb 14, 2025 CVE ID Reserved
- Mar 6, 2025 CVE Published
- Mar 7, 2025 EPSS Score (30 in total, the first dated here)
- Mar 9, 2025 Coalition ESS Score (21 in total, the first dated here)
- Mar 19, 2025 CVE Updated
- Mar 10, 2026 Security Advisory (11 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (6 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-26699
vulnetix vdb fixes CVE-2025-26699
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-26699/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-26699 advisory
- https://github.com/advisories/GHSA-p3fp-8748-vqfq advisory
- https://docs.djangoproject.com/en/dev/releases/security url
- https://github.com/django/django url
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-13.yaml advisory
- https://www.djangoproject.com/weblog/2025/mar/06/security-releases url
- http://www.openwall.com/lists/oss-security/2025/03/06/12 url
- https://lists.debian.org/debian-lts-announce/2025/03/msg00012.html url