VDB

CVE-2026-6907

CVE-2026-6907 PUBLISHED CVSS 4.3 MEDIUM

Django Uses Cache Containing Sensitive Information

Reported by dsf · Published May 5, 2026

Django is fixed in 6.0.5 and 5.2.14 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
DjangoPyPI6.0.5, 5.2.14
authentik-fips-2026.2Chainguard2026.2.1-r7
authentik-2025.12Chainguard2025.12.4-r9
authentik-2026.2Chainguard2026.2.1-r9
py3-djangoAlpine5.2.14-r0
djangoBitnami6.0.5, 5.2.14
authentik-fips-2025.12Chainguard2025.12.4-r7
py3-djangoChainguard6.0.5-r0
py3-djangoWolfi6.0.5-r0
djangodjangoproject6.0.5, 5.2.14

Risk scores

CVSS 3.1
4.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
djangoprojectDjango6.0, 6.0.5, 5.2
PyPIDjango5.2.0, 6.0.0
chainguardauthentik-fips-2026.20
chainguardauthentik-2025.120
chainguardauthentik-2026.20
djangoprojectDjango6.0, 6.0.5, 5.2
alpinepy3-django0
chainguardauthentik-fips-2025.120
chainguardpy3-django0
wolfipy3-django0

Timeline

  • May 5, 2026 CVE Published
  • May 5, 2026 PoC Published
  • May 5, 2026 Security Advisory (4 in total, the first dated here)
  • May 6, 2026 EPSS Score (30 in total, the first dated here)
  • May 6, 2026 CVE Updated
  • Aug 3, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-6907
vulnetix vdb fixes CVE-2026-6907

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-6907/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›