Vulnerability in Django (CVE-2026-15337)
Summary
Vulnerability in Django (CVE-2026-15337). Risk of unauthorized operations or information disclosure. Exploitable via DATA_UPLOAD_MAX_MEMORY_SIZE.
Original description
The description as published by the source.
An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8.
django.utils.translation.check_for_language() is subject to a potential denial-of-service attack when given many distinct, very long language codes, which are retained as keys in an in-memory cache and consume process memory. Such codes reach the function through the django.views.i18n.set_language() view, which is not routed by default. The consumed memory is bounded, since request data is limited by the DATA_UPLOAD_MAX_MEMORY_SIZE setting (default 2.5 MB) and the cache holds a fixed maximum number of entries.
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 Jaeyoung Jang for reporting this issue.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-15337 has been found in Django.
Attackers can target a specific entry point like DATA_UPLOAD_MAX_MEMORY_SIZE over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 5.3/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Django CVE-2026-15337" on the vendor's site.
CVE-2026-15337 (Django) — CWE-789 / CVSS v3 5.3
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: DATA_UPLOAD_MAX_MEMORY_SIZE
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-789) exists in Django. Attackers reach the vulnerable code path via DATA_UPLOAD_MAX_MEMORY_SIZE without authentication.
Check the vendor advisory for the affected versions of Django. Attack surface: DATA_UPLOAD_MAX_MEMORY_SIZE.
Severity: Medium (CVSS 5.3/10). Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Django' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'Django' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Djangoを grep し、稼働しているサービス・バージョンを把握する。 -
2Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-15337 python-django Fixed in: 3:3.2.25-0+deb12u4
- Ubuntu UBUNTU-CVE-2026-15337 python-django
References
- advisory nvd.nist.gov
- advisory docs.djangoproject.com
- advisory djangoproject.com
- advisory github.com
- package pypi.org
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web docs.djangoproject.com
- web groups.google.com
- web djangoproject.com
- web github.com
- web github.com