CVE-2026-6907

medium
Published 2026-05-05 · Modified 2026-05-20
CVSS v3
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v2
VIR risk
5.3

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.

Predictions

Exploit likelihood
63%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-6907

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2026-6907.html

vendor Authored 2026-05-27

Vendor advisory: 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 — https://www.djangoproject.com/weblog/2026/may/05/security-releases/

vendor Authored 2026-05-27

Vendor advisory: 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 — https://docs.djangoproject.com/en/dev/releases/security/

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormaffected
debian debianbullseyeaffected
debian debianforkyaffected
debian debiansidfixed3:5.2.14-1
debian debiantrixieaffected

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango>=6.0,<6.0.56.0.5
python PyPIdjango>=5.2,<5.2.145.2.14
PIPDjango>= 5.2, < 5.2.145.2.14
PIPDjango>= 6.0, < 6.0.56.0.5

Application impact

VendorProductVersionsFixed
djangoprojectdjango{"startIncluding":"5.2","endExcluding":"5.2.14"}5.2.14

References

CWEs

CWE-524

Verify integrity in audit chain (admin only). AS-IS.