CVE-2026-6907
Last modified
CVE-2026-6907 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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.. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/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
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 5.2, < 5.2.14 |
| Djangoproject | Django | >= 6.0, < 6.0.5 |
References
- https://docs.djangoproject.com/en/dev/releases/security/Vendor Advisory
- https://groups.google.com/g/django-announceThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-6907?
How severe is CVE-2026-6907?
How do I fix CVE-2026-6907?
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-68981Apache NiFi 1.5.0 through 2.10.0 support gzip-encoded HTTP r…7.5
- CVE-2026-6899Check for certificate revocation only considers the first ma…5.6
- CVE-2026-6900Improper certificate validation vulnerability in B&R Industr…9.1
- CVE-2026-6901Untrusted Search Path vulnerability in B&R Industrial Automa…8.4
- CVE-2026-6902A Remote Code Execution vulnerability in P4 (Helix Core) Ser…7.7
- CVE-2026-6903The LabOne Web Server, backing the LabOne User Interface, co…8.7
- CVE-2026-69075FlowIntel is affected by a stored cross-site scripting vulne…6.9
- CVE-2026-69078CTI-Transmute is affected by a server-side request forgery v…8.8
- CVE-2026-69079CTI-Transmute contains an uncontrolled resource-consumption …8.7
- CVE-2026-69082CTI-Transmute contained a cross-site request forgery vulnera…8.8
- CVE-2026-69083SiYuan versions before v3.7.3 contain SQL injection vulnerab…10
- CVE-2026-69084SiYuan versions <= v3.7.2 expose the /api/search/searchEmbed…10
Are you affected by CVE-2026-6907?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
