CVSS 4.0
2.3 lowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NLow (2.3) in djangoproject django. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in django 5.2.14, 6.0.5.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Ndjango (PyPI): fixed in 6.0.5, 5.2.14Explain CVE-2026-6907 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6907?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6907?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6907 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| djangoproject Django | from 6.0 before 6.0.5 |
| djangoproject Django | from 5.2 before 5.2.14 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-5hrc-gvxj-w55p | PyPI | django | >=6.0 <6.0.5 | 6.0.5 |
| GHSA-5hrc-gvxj-w55p | PyPI | django | >=5.2 <5.2.14 | 5.2.14 |
| PYSEC-2026-55 | PyPI | django | >=5.2 <5.2.14 >=6.0 <6.0.5 | 5.2.14, 6.0.5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | python-django | no fix listed | DEBIAN-CVE-2026-6907 |
| Debian | 14 | python-django | 3:5.2.14-1 | DEBIAN-CVE-2026-6907 |
| Ubuntu | 22.04:LTS | python-django | 2:3.2.12-2ubuntu1.27 | UBUNTU-CVE-2026-6907 USN-8848-1 |
| Ubuntu | 24.04:LTS | python-django | 3:4.2.11-1ubuntu1.16 | UBUNTU-CVE-2026-6907 USN-8848-1 |
| Ubuntu | 25.10 | python-django | 3:5.2.4-1ubuntu2.5 | UBUNTU-CVE-2026-6907 |
| Ubuntu | 26.04:LTS | python-django | 3:5.2.9-0ubuntu4.1 | UBUNTU-CVE-2026-6907 USN-8848-1 |
| Ubuntu | Pro:14.04:LTS | python-django | 1.6.11-0ubuntu1.3+esm12 | UBUNTU-CVE-2026-6907 USN-8848-1 |
| Ubuntu | Pro:16.04:LTS | python-django | 1.8.7-1ubuntu5.15+esm13 | UBUNTU-CVE-2026-6907 USN-8848-1 |
| Ubuntu | Pro:18.04:LTS | python-django | 1:1.11.11-1ubuntu1.21+esm17 | UBUNTU-CVE-2026-6907 USN-8848-1 |
| Ubuntu | Pro:20.04:LTS | python-django | 2:2.2.12-1ubuntu0.29+esm10 | UBUNTU-CVE-2026-6907 USN-8848-1 |
| openSUSE | Tumbleweed | python-Django | 5.2.14-1.1 | openSUSE-SU-2026:10718-1 |
| openSUSE | Tumbleweed | python-Django4 | 4.2.30-2.1 | openSUSE-SU-2026:10708-1 |
| openSUSE | Tumbleweed | python-Django5 | 5.2.16-1.1 | openSUSE-SU-2026:11270-1 |
| openSUSE | Tumbleweed | python-Django6 | 6.0.5-1.1 | openSUSE-SU-2026:10709-1 |
| Alpine | v3.24 | py3-django | 5.2.14-r0 | ALPINE-CVE-2026-6907 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.
Red Hat rates this Moderate.
To mitigate this issue, disable the `django.middleware.cache.UpdateCacheMiddleware` in your Django application's `settings.py` file by removing it from the `MIDDLEWARE` list. This action prevents the erroneous caching of requests with an asterisk in the `Vary` header, thereby eliminating the information disclosure vulnerability. Be aware that disabling this middleware will also deactivate Django's built-in caching functionality, which may affect application performance and behavior. A restart of the Django application server is required for this change to take effect.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-24/lightspeed-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/controller-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/eda-controller-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/gateway-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/hub-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/lightspeed-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/aap-cloud-billing-rhel9 | Under investigation | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/controller-rhel9 | Under investigation | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/eda-controller-rhel9 | Under investigation | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/gateway-rhel9 | Under investigation | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/hub-rhel9 | Under investigation | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/lightspeed-rhel9 | Under investigation | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-27/metrics-service-rhel9 | Under investigation | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform/automation-dashboard-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-tech-preview/metrics-service-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | python-django | Fix deferred | |
| Red Hat Discovery 2 | discovery/discovery-server-rhel9 | Fix deferred | |
| Red Hat OpenStack Platform 16.2 | python-django20 | Fix deferred | |
| 7 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6907.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.