usn-8232-1
Vulnerability from osv_ubuntu
Published
2026-05-05 15:30
Modified
2026-05-20 14:48
Summary
python-django vulnerabilities
Details

It was discovered that Django did not vary cached response headers on cookies when sessions were not modified while SESSION_SAVE_EVERY_REQUEST was enabled. A remote attacker could possibly use this issue to steal a user's session. (CVE-2026-35192)

Kyle Agronick and Jacob Walls discovered that Django incorrectly handled ASGI requests with missing or understated Content-Length header values. A remote attacker could possibly use this issue to cause Django to use excessive resources, leading to a denial of service. (CVE-2026-5766)

Ahmad Sadeddin discovered that Django UpdateCacheMiddleware incorrectly cached requests where the Vary header contained an asterisk. A remote attacker could possibly use this issue to obtain sensitive information. (CVE-2026-6907)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-5766",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-6907",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-35192",
              "severity": [
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "python3-django",
            "binary_version": "2:3.2.12-2ubuntu1.27"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "python-django",
        "purl": "pkg:deb/ubuntu/python-django@2:3.2.12-2ubuntu1.27?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2:3.2.12-2ubuntu1.27"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2:2.2.24-1ubuntu1",
        "2:3.2.12-2",
        "2:3.2.12-2ubuntu1",
        "2:3.2.12-2ubuntu1.1",
        "2:3.2.12-2ubuntu1.2",
        "2:3.2.12-2ubuntu1.3",
        "2:3.2.12-2ubuntu1.4",
        "2:3.2.12-2ubuntu1.5",
        "2:3.2.12-2ubuntu1.6",
        "2:3.2.12-2ubuntu1.7",
        "2:3.2.12-2ubuntu1.8",
        "2:3.2.12-2ubuntu1.9",
        "2:3.2.12-2ubuntu1.10",
        "2:3.2.12-2ubuntu1.11",
        "2:3.2.12-2ubuntu1.12",
        "2:3.2.12-2ubuntu1.13",
        "2:3.2.12-2ubuntu1.14",
        "2:3.2.12-2ubuntu1.15",
        "2:3.2.12-2ubuntu1.16",
        "2:3.2.12-2ubuntu1.17",
        "2:3.2.12-2ubuntu1.18",
        "2:3.2.12-2ubuntu1.19",
        "2:3.2.12-2ubuntu1.20",
        "2:3.2.12-2ubuntu1.21",
        "2:3.2.12-2ubuntu1.22",
        "2:3.2.12-2ubuntu1.23",
        "2:3.2.12-2ubuntu1.24",
        "2:3.2.12-2ubuntu1.25",
        "2:3.2.12-2ubuntu1.26"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-5766",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-6907",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-35192",
              "severity": [
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "python3-django",
            "binary_version": "3:4.2.11-1ubuntu1.16"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "python-django",
        "purl": "pkg:deb/ubuntu/python-django@3:4.2.11-1ubuntu1.16?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3:4.2.11-1ubuntu1.16"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3:4.2.4-1ubuntu2",
        "3:4.2.8-1",
        "3:4.2.9-1",
        "3:4.2.11-1",
        "3:4.2.11-1ubuntu1",
        "3:4.2.11-1ubuntu1.1",
        "3:4.2.11-1ubuntu1.2",
        "3:4.2.11-1ubuntu1.3",
        "3:4.2.11-1ubuntu1.4",
        "3:4.2.11-1ubuntu1.5",
        "3:4.2.11-1ubuntu1.6",
        "3:4.2.11-1ubuntu1.7",
        "3:4.2.11-1ubuntu1.8",
        "3:4.2.11-1ubuntu1.9",
        "3:4.2.11-1ubuntu1.10",
        "3:4.2.11-1ubuntu1.11",
        "3:4.2.11-1ubuntu1.12",
        "3:4.2.11-1ubuntu1.13",
        "3:4.2.11-1ubuntu1.14",
        "3:4.2.11-1ubuntu1.15"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-5766",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-6907",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-35192",
              "severity": [
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:25.10"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "python3-django",
            "binary_version": "3:5.2.4-1ubuntu2.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "python-django",
        "purl": "pkg:deb/ubuntu/python-django@3:5.2.4-1ubuntu2.5?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3:5.2.4-1ubuntu2.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3:4.2.18-1ubuntu1",
        "3:4.2.18-1ubuntu1.1",
        "3:5.2.4-1",
        "3:5.2.4-1ubuntu1",
        "3:5.2.4-1ubuntu2",
        "3:5.2.4-1ubuntu2.1",
        "3:5.2.4-1ubuntu2.2",
        "3:5.2.4-1ubuntu2.3",
        "3:5.2.4-1ubuntu2.4"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-5766",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-6907",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2026-35192",
              "severity": [
                {
                  "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:26.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "python3-django",
            "binary_version": "3:5.2.9-0ubuntu4.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "python-django",
        "purl": "pkg:deb/ubuntu/python-django@3:5.2.9-0ubuntu4.1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3:5.2.9-0ubuntu4.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3:5.2.4-1ubuntu2",
        "3:5.2.4-1ubuntu3",
        "3:5.2.9-0ubuntu1",
        "3:5.2.9-0ubuntu2",
        "3:5.2.9-0ubuntu3",
        "3:5.2.9-0ubuntu4"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that Django did not vary cached response headers on\ncookies when sessions were not modified while SESSION_SAVE_EVERY_REQUEST\nwas enabled. A remote attacker could possibly use this issue to steal a\nuser\u0027s session. (CVE-2026-35192)\n\nKyle Agronick and Jacob Walls discovered that Django incorrectly handled\nASGI requests with missing or understated Content-Length header values.\nA remote attacker could possibly use this issue to cause Django to use\nexcessive resources, leading to a denial of service. (CVE-2026-5766)\n\nAhmad Sadeddin discovered that Django UpdateCacheMiddleware incorrectly\ncached requests where the Vary header contained an asterisk. A remote\nattacker could possibly use this issue to obtain sensitive information.\n(CVE-2026-6907)",
  "id": "USN-8232-1",
  "modified": "2026-05-20T14:48:19Z",
  "published": "2026-05-05T15:30:34Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8232-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-5766"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-6907"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-35192"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "python-django vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2026-5766",
    "UBUNTU-CVE-2026-6907",
    "UBUNTU-CVE-2026-35192"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…