Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-48587— Potential exposure of private data via whitespace padding in Vary header

Quick assessment

Affected
djangoproject Django
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 5.2 5.2.15之前版本和6.0 6.0.6之前版本存在安全漏洞,该漏洞源于has_vary_header未去除Vary响应标头值的前后空白,可能导致远程攻击者读取缓存响应。

CVSS 3.1 · Low EPSS 0.43% · P35

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage

Affected Version Matrix 4

VendorProduct Version RangeStatus
djangoproject Django 6.0< 6.0.6 affected
6.0.6 unaffected
5.2< 5.2.15 affected
5.2.15 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48587

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Potential exposure of private data via whitespace padding in Vary header
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
缺失要素致使对比不完全
Source: CVE Program / CVE List V5
Vulnerability Title
Django 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Django是Django基金会的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 5.2 5.2.15之前版本和6.0 6.0.6之前版本存在安全漏洞,该漏洞源于has_vary_header未去除Vary响应标头值的前后空白,可能导致远程攻击者读取缓存响应。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
djangoproject Django 6.0 ~ 6.0.6 -

II. Public POCs for CVE-2026-48587

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-48587

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-48587 (1)

Mailing List Discussions for CVE-2026-48587 (1)

Security Blog Posts for CVE-2026-48587 (1)

Same Patch Batch · djangoproject · 2026-06-03 · 7 CVEs total

CVE-2026-44545 5.3 MEDIUM Unbounded WebSocket message and frame sizes can cause unauthenticated remote denial of ser
CVE-2026-44546 3.7 LOW Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofi
CVE-2026-7666 3.1 LOW Potential unencrypted email transmission via STARTTLS in the SMTP backend
CVE-2026-35193 3.1 LOW Potential exposure of private data via missing Vary: Authorization in UpdateCacheMiddlewar
CVE-2026-6873 3.1 LOW Signed cookie salt namespace collision in django.http.HttpRequest.get_signed_cookie
CVE-2026-8404 3.1 LOW Potential exposure of private data via case-sensitive Cache-Control directives in UpdateCa

IV. Related Vulnerabilities

V. Comments for CVE-2026-48587

No comments yet


Leave a comment