CVE-2026-6907: Django - Broken Access Control
- Cve: CVE-2026-6907
- Name: Django - Broken Access Control
- Description: An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14. `django.middleware.cache.UpdateCacheMiddleware` erroneously caches requests where the `Vary` header contained an asterisk (`'*'`). This can lead to private data being stored and served. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Ahmad Sadeddin for reporting this issue.
- Impact: Attackers can access private cached data, leading to information disclosure.
- Remediation: Upgrade to version 6.0.5, 5.2.14 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.00358
- Epss percentile: 0.30158
- Assignee: 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92
- Published at: 2026-05-05T16:16:18Z
- Age in days: 203
- Modified at: 2026-10-26T19:10:00Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-6907
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-524 | Use of Cache Containing Sensitive Information |
Hackerone
- Reports: 6
- Rank: 2538
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://docs.djangoproject.com/en/dev/releases/security/ | Vendor Advisory |
| https://www.djangoproject.com/weblog/2026/may/05/security-releases/ | Vendor Advisory |
| https://groups.google.com/g/django-announce | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| djangoproject:django | >= 6.0, < 6.0.5; >= 5.2, < 5.2.14 | no | nvd | /v1/products/djangoproject/django |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| django/django | fix, package | yes | /v1/repositories/django/django |
Index
- Repositories: 225
- Repositories high signal: 177
- Packages: 1
Exploitation
- Remote: yes
- Hackerone reports: 6
- Exposed hosts: 2404431
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since