Bug 2484372 (CVE-2026-48587) - CVE-2026-48587 django: Django: Information disclosure via improper handling of Vary header whitespace
Summary: CVE-2026-48587 django: Django: Information disclosure via improper handling o...
Keywords:
Status: NEW
Alias: CVE-2026-48587
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-03 15:01 UTC by OSIDB Bzimport
Modified: 2026-07-18 08:29 UTC (History)
31 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-03 15:01:51 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.