{"id":"CVE-2026-48587","published":"2026-06-03T13:16:47Z","modified":"2026-06-03T15:47:55Z","title":"Potential exposure of private data via whitespace padding in Vary header","vendor":"djangoproject","product":"Django","tier":"tail","description":{"text":"An issue was discovered in Django 5.2 before 5.2.15 and 6.0 before 6.0.6.\n`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.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Navid Rezazadeh for reporting this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.1,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00367,"percentile":0.31314,"provenance":"source"},"cwes":[{"id":"CWE-1023","name":"Incomplete Comparison with Missing Factors"}],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["vendor-advisory"]},{"url":"https://groups.google.com/g/django-announce","tags":["mailing-list"]},{"url":"https://www.djangoproject.com/weblog/2026/jun/03/security-releases/","tags":["vendor-advisory"]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":6.26},{"name":"CVSS severity","points":2.17}]},"vendorSlug":"djangoproject","affectedVersions":[{"vendor":"djangoproject","product":"Django","versions":[">= 6.0, < 6.0.6",">= 5.2, < 5.2.15"]}],"fixedVersions":[{"vendor":"djangoproject","product":"Django","versions":["6.0.6","5.2.15"]}],"capec":[{"id":"CAPEC-204","name":"Lifting Sensitive Data Embedded in Cache"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-03T15:47:33.121791Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"django","vulnerableRanges":["<5.2.15",">=6.0.0, <6.0.6",">=5.2, <5.2.15",">=6.0, <6.0.6"],"patched":["5.2.15","6.0.6"],"from":["GHSA-923m-gv2p-w5qp","PYSEC-2026-198"],"provenance":"source"}],"summary":{"text":"Django's django.utils.cache.has_vary_header() function, in the caching utilities of the Django web framework, fails to strip leading or trailing whitespace from Vary response header values before comparing them. An unauthenticated remote attacker can exploit this by requesting URLs whose responses carry whitespace-padded Vary header values, which can allow them to read cached responses, and exploitation requires a user to interact with the request (UI:R).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:11Z"},"euvd":{"id":"EUVD-2026-34090","exploited":false,"provenance":"source"}}