CVE-2026-6907
Published:May 05, 2026
Updated:May 16, 2026
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.
Affected Packages
django (CONDA):
Affected version(s) >=5.2 <5.2.14Fix Suggestion:
Update to version 5.2.14django (CONDA):
Affected version(s) >=6.0 <6.0.5Fix Suggestion:
Update to version 6.0.5https://github.com/django/django.git (GITHUB):
Affected version(s) >=6.0 <6.0.5Fix Suggestion:
Update to version 6.0.5https://github.com/django/django.git (GITHUB):
Affected version(s) >=5.2 <5.2.14Fix Suggestion:
Update to version 5.2.14Django (PYTHON):
Affected version(s) >=6.0 <6.0.5Fix Suggestion:
Update to version 6.0.5django (PYTHON):
Affected version(s) >=6.0 <6.0.5Fix Suggestion:
Update to version 6.0.5django (PYTHON):
Affected version(s) >=5.2 <5.2.14Fix Suggestion:
Update to version 5.2.14Django (PYTHON):
Affected version(s) >=5.2 <5.2.14Fix Suggestion:
Update to version 5.2.14Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Use of Cache Containing Sensitive Information
EPSS
Base Score:
0.03