Skip to main content
VulnerabilityPublished Updated

CVE-2026-6907: Python django · An issue was discovered in 6.0 before 6.0.5 and 5.2 before 5.2.14

Affects python-djangoSource GCVE Database

0
Compare
Authoritative record:CVE-2026-6907· Medium 4.3

Not known to be exploited · CVSS 4.3 Medium · fixed in 1.6.11-0ubuntu1.3+esm12 : update python-django when convenient.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.6.11-0ubuntu1.3+esm12, 1.8.7-1ubuntu5.15+esm13, 1:1.11.11-1ubuntu1.21+esm17 +5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=resoluteOther threatsAffected
  • <3:5.2.9-0ubuntu4.1
Fixed in
  • 3:5.2.9-0ubuntu4.1
Ubuntu 25.10python-djangopkg:deb/ubuntu/python-django?arch=source&distro=questingOther threatsAffected
  • <3:5.2.4-1ubuntu2.5
Fixed in
  • 3:5.2.4-1ubuntu2.5
Ubuntu 24.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=nobleOther threatsAffected
  • <3:4.2.11-1ubuntu1.16
Fixed in
  • 3:4.2.11-1ubuntu1.16
Ubuntu 22.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=jammyOther threatsAffected
  • <2:3.2.12-2ubuntu1.27
Fixed in
  • 2:3.2.12-2ubuntu1.27
Ubuntu Pro 20.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=esm-infra/focalOther threatsAffected
  • <2:2.2.12-1ubuntu0.29+esm10
Fixed in
  • 2:2.2.12-1ubuntu0.29+esm10
Ubuntu Pro 18.04 LTSpython-djangopkg:deb/ubuntu/python-django?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <1:1.11.11-1ubuntu1.21+esm17
Fixed in
  • 1:1.11.11-1ubuntu1.21+esm17

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…