Saturday 5 December 2026 · UTC
Global

Your region, kept on this device.

Vulnerability · Djangoproject Django

CVE-2026-125673

An issue was discovered in Django 6.1 before 6.1.4, 6.0 before 6.0.11, and 5.2 before 5.2.20. `django.middleware.cache.UpdateCacheMiddleware` and `django.views.decorators.cache.cache_page()` are affected by a bug in `django.http.HttpRequest.build_absolute_uri()`, which incorrectly normalizes request paths containing `.` or `..` segments. Under certain deployment and URL configurations, this allows an unauthenticated attacker to poison the cache, causing cached responses to be served for unintended URLs. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank 4drez for reporting this issue.

CVSS score (v4.0)6.3Medium
Exploitation: unknown in current evidence
Patch reported for this CVE
No KEV listing in this record

Am I affected?

Check a product version without an account, or sign in for saved inventory assessments.

Ask about this evidence

Timeline

  1. Published by NVD
  2. First covered by RedTeamDaily
  3. Last updated by NVD

Affected products

ProductVersions
Djangoproject Django
Component identitycpe:2.3:a:djangoproject:django
from 5.2 before 5.2.20; from 6.0 before 6.0.11; from 6.1 before 6.1.4

Source evidence and freshness

Lifecycle: Deferred. Technical severity: CVSS 4.0 · Provider: 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92. Exploitation evidence and inventory applicability are separate assessments.

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Last retrieval: Last verified conclusion: Last material change:
Provider-specific scores
  • 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 · CVSS 4.0 · 6.3 Medium CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • 6a34fbeb-21d4-45e7-8e0a-62b95bc12c92 · CVSS 3.1 · 3.7 Low CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

NVD record · CVE record and primary references

Remediation by product and branch

Djangoproject Django

from 5.2 before 5.2.20 · Branch 5.2.x

fix available · Verified fixed release: 5.2.20

Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.

Django Software Foundation CNA advisory · Verified:

from 6.0 before 6.0.11 · Branch 6.0.x

fix available · Verified fixed release: 6.0.11

Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.

Django Software Foundation CNA advisory · Verified:

from 6.1 before 6.1.4 · Branch 6.1.x

fix available · Verified fixed release: 6.1.4

Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.

Django Software Foundation CNA advisory · Verified:

FIRST EPSS forecast

No EPSS score has been imported for this vulnerability. This is unavailable data, not a zero forecast.

A model forecast of exploitation activity in the next 30 days. It does not establish applicability, observed attacks, impact or organisation-specific risk. FIRST methodology and limits

Change history

Changes to the source evidence for this vulnerability. Retrievals that changed nothing are not listed. Email already sent is not edited afterwards.

  1. Patch reported ·

    • Patch reported: not recorded → yes
    Recorded entry #45220

    Reason recorded: Primary advisory checked: https://www.djangoproject.com/weblog/2026/dec/02/security-releases/

    {
      "fields": [
        {
          "kind": "value",
          "field": "patch_available",
          "label": "Patch reported",
          "revised": true,
          "previous": null
        }
      ]
    }
  2. Affected rule added ·

    Djangoproject Django from 5.2 before 5.2.20 · branch 5.2.x (Django Software Foundation CNA)

    Recorded entry #45219

    Reason recorded: Primary advisory checked: https://www.djangoproject.com/weblog/2026/dec/02/security-releases/

    {
      "fields": [],
      "rule": {
        "to": "5.2.20",
        "from": "5.2",
        "branch": "5.2.x",
        "source": "Django Software Foundation CNA",
        "fixedIn": "5.2.20",
        "toInclusive": false,
        "fixedVerified": true,
        "fromInclusive": true
      }
    }
  3. Affected rule added ·

    Djangoproject Django from 6.0 before 6.0.11 · branch 6.0.x (Django Software Foundation CNA)

    Recorded entry #45218

    Reason recorded: Primary advisory checked: https://www.djangoproject.com/weblog/2026/dec/02/security-releases/

    {
      "fields": [],
      "rule": {
        "to": "6.0.11",
        "from": "6.0",
        "branch": "6.0.x",
        "source": "Django Software Foundation CNA",
        "fixedIn": "6.0.11",
        "toInclusive": false,
        "fixedVerified": true,
        "fromInclusive": true
      }
    }
  4. Affected rule added ·

    Djangoproject Django from 6.1 before 6.1.4 · branch 6.1.x (Django Software Foundation CNA)

    Recorded entry #45217

    Reason recorded: Primary advisory checked: https://www.djangoproject.com/weblog/2026/dec/02/security-releases/

    {
      "fields": [],
      "rule": {
        "to": "6.1.4",
        "from": "6.1",
        "branch": "6.1.x",
        "source": "Django Software Foundation CNA",
        "fixedIn": "6.1.4",
        "toInclusive": false,
        "fixedVerified": true,
        "fromInclusive": true
      }
    }

Coverage

Sources: NVD and CISA known exploited vulnerabilities catalogue.