CVE-2026-15337
Last modified
CVE-2026-15337 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | Django | >= 6.0, < 6.0.8; >= 5.2, < 5.2.17 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-15337?
How severe is CVE-2026-15337?
How do I fix CVE-2026-15337?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-15331A vulnerability was identified in zhayujie CowAgent up to 2.…5.4
- CVE-2026-15332A security flaw has been discovered in zhayujie CowAgent up …6.3
- CVE-2026-15333The Cozy Blocks – Page Builder for Gutenberg Editor & FSE wi…6.4
- CVE-2026-15334The Cozy Blocks – Page Builder for Gutenberg Editor & FSE wi…6.4
- CVE-2026-15335The Booking Package plugin for WordPress is vulnerable to ge…7.5
- CVE-2026-15336The Catch Themes Demo Import plugin for WordPress is vulnera…4.3
- CVE-2026-15338The LA-Studio Element Kit for Elementor plugin for WordPress…7.5
- CVE-2026-1534A weakness has been identified in code-projects Online Music…9.8
- CVE-2026-15342Plane contains a multi‑tenant authorization flaw in its asse…6.5
- CVE-2026-15343A path traversal vulnerability was identified in GitHub Ente…8.6
- CVE-2026-15344The WP Photo Album Plus plugin for WordPress is vulnerable t…4.9
- CVE-2026-15346The VikBooking Hotel Booking Engine & PMS plugin for WordPre…6.1
Are you affected by CVE-2026-15337?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
