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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-6907— Potential exposure of private data due to incorrect handling of Vary: * in UpdateCacheMiddleware

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 6.0.5之前版本和5.2.14之前版本存在安全漏洞,该漏洞源于UpdateCacheMiddleware错误地缓存了Vary标头包含星号的请求,可能导致私有数据被存储和提供。

CVSS 4.3 · Medium EPSS 0.44% · P36

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage

Affected Version Matrix 4

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

I. Basic Information for CVE-2026-6907

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 due to incorrect handling of Vary: * in UpdateCacheMiddleware
Source: CVE Program / CVE List V5
Vulnerability Description
An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14. `django.middleware.cache.UpdateCacheMiddleware` erroneously caches requests where the `Vary` header contained an asterisk (`'*'`). This can lead to private data being stored and served. 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 Ahmad Sadeddin for reporting this issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/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 6.0.5之前版本和5.2.14之前版本存在安全漏洞,该漏洞源于UpdateCacheMiddleware错误地缓存了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.5 -

II. Public POCs for CVE-2026-6907

# 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-6907

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

Vendor Advisories for CVE-2026-6907 (1)

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

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

Same Patch Batch · djangoproject · 2026-05-05 · 3 CVEs total

CVE-2026-5766 5.3 MEDIUM Potential denial-of-service vulnerability in ASGI requests via file upload limit bypass
CVE-2026-35192 Session fixation via public cached pages and SESSION_SAVE_EVERY_REQUEST

IV. Related Vulnerabilities

V. Comments for CVE-2026-6907

No comments yet


Leave a comment