CVE Explorer
CVE-2026-48587
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 than
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cvss · 2 assertions
{"metric":{"baseScore":3.1,"baseSeverity":"LOW","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b6d69ce9fae3b9c899b8ad6b0cd80fbb931dbf9a128281822be96d05803ced93 · sha256:728fb84d454e27ac… · /containers/cna/metrics/1/cvssV3_1
{"metric":{"baseScore":2.3,"baseSeverity":"LOW","vectorString":"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","version":"4.0"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b6d69ce9fae3b9c899b8ad6b0cd80fbb931dbf9a128281822be96d05803ced93 · sha256:728fb84d454e27ac… · /containers/cna/metrics/2/cvssV4_0
Affected products and versions
1 source assertion{"collectionURL":"https://pypi.org/project/Django/","defaultStatus":"unaffected","packageName":"django","product":"Django","repo":"https://github.com/django/django/","vendor":"djangoproject","versions":[{"lessThan":"6.0.6","status":"affected","version":"6.0","versionType":"python"},{"status":"unaffected","version":"6.0.6","versionType":"python"},{"lessThan":"5.2.15","status":"affected","version":"5.2","versionType":"python"},{"status":"unaffected","version":"5.2.15","versionType":"python"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:b6d69ce9fae3b9c899b8ad6b0cd80fbb931dbf9a128281822be96d05803ced93 · sha256:728fb84d454e27ac… · /containers/cna/affected/0
Provider-owned CVSS observations
2 source assertions{"metric":{"baseScore":3.1,"baseSeverity":"LOW","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b6d69ce9fae3b9c899b8ad6b0cd80fbb931dbf9a128281822be96d05803ced93 · sha256:728fb84d454e27ac… · /containers/cna/metrics/1/cvssV3_1
{"metric":{"baseScore":2.3,"baseSeverity":"LOW","vectorString":"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","version":"4.0"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b6d69ce9fae3b9c899b8ad6b0cd80fbb931dbf9a128281822be96d05803ced93 · sha256:728fb84d454e27ac… · /containers/cna/metrics/2/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-1023","description":"CWE-1023: Incomplete Comparison with Missing Factors","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b6d69ce9fae3b9c899b8ad6b0cd80fbb931dbf9a128281822be96d05803ced93 · sha256:728fb84d454e27ac… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"Django security archive","tags":["vendor-advisory"],"url":"https://docs.djangoproject.com/en/dev/releases/security/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b6d69ce9fae3b9c899b8ad6b0cd80fbb931dbf9a128281822be96d05803ced93 · sha256:728fb84d454e27ac… · /containers/cna/references/0
{"name":"Django releases announcements","tags":["mailing-list"],"url":"https://groups.google.com/g/django-announce"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b6d69ce9fae3b9c899b8ad6b0cd80fbb931dbf9a128281822be96d05803ced93 · sha256:728fb84d454e27ac… · /containers/cna/references/1
{"name":"Django security releases issued: 6.0.6 and 5.2.15","tags":["vendor-advisory"],"url":"https://www.djangoproject.com/weblog/2026/jun/03/security-releases/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b6d69ce9fae3b9c899b8ad6b0cd80fbb931dbf9a128281822be96d05803ced93 · sha256:728fb84d454e27ac… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.