Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-48587
Published:June 03, 2026
Updated:June 07, 2026
An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6. "django.utils.cache.has_vary_header()" in Django does not strip leading or trailing whitespace from "Vary" response header values before comparison, which allows remote attackers to read cached responses via requests to URLs whose responses contain whitespace-padded Vary header values. 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 Navid Rezazadeh for reporting this issue.
Affected Packages
django (CONDA):
Affected version(s) >=6.0 <6.0.6
Fix Suggestion:
Update to version 6.0.6
django (CONDA):
Affected version(s) >=5.2 <5.2.15
Fix Suggestion:
Update to version 5.2.15
https://github.com/django/django.git (GITHUB):
Affected version(s) >=5.2 <5.2.15
Fix Suggestion:
Update to version 5.2.15
https://github.com/django/django.git (GITHUB):
Affected version(s) >=6.0 <6.0.6
Fix Suggestion:
Update to version 6.0.6
Django (PYTHON):
Affected version(s) >=5.2 <5.2.15
Fix Suggestion:
Update to version 5.2.15
Django (PYTHON):
Affected version(s) >=6.0 <6.0.6
Fix Suggestion:
Update to version 6.0.6
Do you need more information?
Contact Us
CVSS 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:
3.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Incomplete Comparison with Missing Factors
EPSS
Base Score:
0.04