CVE-2026-97764 (GCVE-0-2026-97764)
Vulnerability from cvelistv5
Published
2026-09-25 04:25
Modified
2026-09-25 13:37
CWE
  • CWE-180 - Incorrect Behavior Order: Validate Before Canonicalize
Summary
django-allauth before 65.19.4 does not have the expected limits on failed login attempts because, in some common configurations, an attacker can leverage the handling of diacritics (e.g., accents) for a higher effective limit.
Impacted products
Vendor Product Version
allauth django-allauth Version: 0.25.0   < 65.19.4
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-97764",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-25T13:37:23.042548Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-25T13:37:50.367Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://pypi.org",
          "defaultStatus": "unaffected",
          "modules": [
            "allauth.account.utils",
            "allauth.account.adapter.DefaultAccountAdapter"
          ],
          "packageName": "django-allauth",
          "packageURL": "pkg:pypi/django-allauth",
          "product": "django-allauth",
          "programFiles": [
            "allauth/account/utils.py",
            "allauth/account/adapter.py"
          ],
          "programRoutines": [
            {
              "name": "allauth.account.utils.filter_users_by_username()"
            },
            {
              "name": "allauth.account.utils.filter_users_by_email()"
            },
            {
              "name": "allauth.account.utils._unicode_ci_compare()"
            },
            {
              "name": "allauth.account.adapter.DefaultAccountAdapter._get_login_attempts_cache_key()"
            }
          ],
          "repo": "https://codeberg.org/allauth/django-allauth",
          "vendor": "allauth",
          "versions": [
            {
              "lessThan": "65.19.4",
              "status": "affected",
              "version": "0.25.0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "1. Any of the following settings is enabled in Django configuration.\u003cbr\u003e \u003cbr\u003e\u003cspan style=\"background-color: rgb(255, 255, 255)\"\u003e65.4\u0026nbsp;\u003c/span\u003e\u003cspan style=\"background-color: rgb(255, 255, 255)\"\u003eand later:\u003cbr\u003e\u003c/span\u003eACCOUNT_LOGIN_METHODS = {\"username\", \"email\"}\u003cbr\u003eACCOUNT_LOGIN_METHODS = {\"username\"}\u003cbr\u003e\u003cspan style=\"background-color: rgb(255, 255, 255)\"\u003e\u003cbr\u003e65.3 and earlier:\u003c/span\u003e\u003cbr\u003e\u003cspan style=\"background-color: rgb(255, 255, 255)\"\u003e\u003cspan style=\"background-color: rgb(255, 255, 255)\"\u003eACCOUNT_AUTHENTICATION_METHOD = \"username_email\"\u003c/span\u003e\u003cbr\u003eACCOUNT_AUTHENTICATION_METHOD = \"username\"\u003cbr\u003e\u003cbr\u003e\u003c/span\u003e2. The username column in the database uses a collation such as utf8mb4_general_ci or utf8mb4_unicode_ci.\u003cbr\u003e\u003cbr\u003e"
            }
          ],
          "value": "1. Any of the following settings is enabled in Django configuration.\n \n65.4\u00a0and later:\nACCOUNT_LOGIN_METHODS = {\"username\", \"email\"}\nACCOUNT_LOGIN_METHODS = {\"username\"}\n\n65.3 and earlier:\nACCOUNT_AUTHENTICATION_METHOD = \"username_email\"\nACCOUNT_AUTHENTICATION_METHOD = \"username\"\n\n2. The username column in the database uses a collation such as utf8mb4_general_ci or utf8mb4_unicode_ci."
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "django-allauth before 65.19.4 does not have the expected limits on failed login attempts because, in some common configurations, an attacker can leverage the handling of diacritics (e.g., accents) for a higher effective limit."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 3.7,
            "baseSeverity": "LOW",
            "confidentialityImpact": "NONE",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-180",
              "description": "CWE-180 Incorrect Behavior Order: Validate Before Canonicalize",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-25T04:25:57.932Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "release-notes"
          ],
          "url": "https://docs.allauth.org/en/latest/release-notes/recent.html"
        },
        {
          "tags": [
            "product"
          ],
          "url": "https://pypi.org/project/django-allauth/"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://codeberg.org/allauth/django-allauth/commit/4379e7931fe7572aacc4f3b4b5f2298d5f3ecc96"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://codeberg.org/allauth/django-allauth/commit/4e252aa2be7cef5d72d78049d6fb07cb27a89c83"
        },
        {
          "tags": [
            "technical-description",
            "related"
          ],
          "url": "https://codeberg.org/allauth/django-allauth/commit/ae472772c8f93bcb972205c9d7159051cf6f413a"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Upgrade django-allauth to version 65.19.4 (latest). \u003cbr\u003e"
            }
          ],
          "value": "Upgrade django-allauth to version 65.19.4 (latest)."
        }
      ],
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "The vulnerability is NOT exposed if any of the following settings is enabled.\u003cbr\u003e\u003cbr\u003e\u003cspan style=\"background-color: rgb(255, 255, 255)\"\u003e65.4 \u003c/span\u003e\u003cspan style=\"background-color: rgb(255, 255, 255)\"\u003eand later:\u003c/span\u003e\u003cbr\u003eACCOUNT_LOGIN_METHODS = {\"email\"}\u003cbr\u003e\u003cbr\u003e65.3 and earlier:\u003cbr\u003eACCOUNT_AUTHENTICATION_METHOD = \"email\"\u003cbr\u003e"
            }
          ],
          "value": "The vulnerability is NOT exposed if any of the following settings is enabled.\n\n65.4 and later:\nACCOUNT_LOGIN_METHODS = {\"email\"}\n\n65.3 and earlier:\nACCOUNT_AUTHENTICATION_METHOD = \"email\""
        }
      ],
      "x_generator": {
        "engine": "CVE-Request-form 0.0.1"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2026-97764",
    "datePublished": "2026-09-25T04:25:57.932Z",
    "dateReserved": "2026-09-25T04:25:57.123Z",
    "dateUpdated": "2026-09-25T13:37:50.367Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"cna\": {\"affected\": [{\"collectionURL\": \"https://pypi.org\", \"defaultStatus\": \"unaffected\", \"modules\": [\"allauth.account.utils\", \"allauth.account.adapter.DefaultAccountAdapter\"], \"packageName\": \"django-allauth\", \"packageURL\": \"pkg:pypi/django-allauth\", \"product\": \"django-allauth\", \"programFiles\": [\"allauth/account/utils.py\", \"allauth/account/adapter.py\"], \"programRoutines\": [{\"name\": \"allauth.account.utils.filter_users_by_username()\"}, {\"name\": \"allauth.account.utils.filter_users_by_email()\"}, {\"name\": \"allauth.account.utils._unicode_ci_compare()\"}, {\"name\": \"allauth.account.adapter.DefaultAccountAdapter._get_login_attempts_cache_key()\"}], \"repo\": \"https://codeberg.org/allauth/django-allauth\", \"vendor\": \"allauth\", \"versions\": [{\"lessThan\": \"65.19.4\", \"status\": \"affected\", \"version\": \"0.25.0\", \"versionType\": \"custom\"}]}], \"configurations\": [{\"lang\": \"en\", \"supportingMedia\": [{\"base64\": false, \"type\": \"text/html\", \"value\": \"1. Any of the following settings is enabled in Django configuration.\u003cbr\u003e \u003cbr\u003e\u003cspan style=\\\"background-color: rgb(255, 255, 255)\\\"\u003e65.4\u0026nbsp;\u003c/span\u003e\u003cspan style=\\\"background-color: rgb(255, 255, 255)\\\"\u003eand later:\u003cbr\u003e\u003c/span\u003eACCOUNT_LOGIN_METHODS = {\\\"username\\\", \\\"email\\\"}\u003cbr\u003eACCOUNT_LOGIN_METHODS = {\\\"username\\\"}\u003cbr\u003e\u003cspan style=\\\"background-color: rgb(255, 255, 255)\\\"\u003e\u003cbr\u003e65.3 and earlier:\u003c/span\u003e\u003cbr\u003e\u003cspan style=\\\"background-color: rgb(255, 255, 255)\\\"\u003e\u003cspan style=\\\"background-color: rgb(255, 255, 255)\\\"\u003eACCOUNT_AUTHENTICATION_METHOD = \\\"username_email\\\"\u003c/span\u003e\u003cbr\u003eACCOUNT_AUTHENTICATION_METHOD = \\\"username\\\"\u003cbr\u003e\u003cbr\u003e\u003c/span\u003e2. The username column in the database uses a collation such as utf8mb4_general_ci or utf8mb4_unicode_ci.\u003cbr\u003e\u003cbr\u003e\"}], \"value\": \"1. Any of the following settings is enabled in Django configuration.\\n \\n65.4\\u00a0and later:\\nACCOUNT_LOGIN_METHODS = {\\\"username\\\", \\\"email\\\"}\\nACCOUNT_LOGIN_METHODS = {\\\"username\\\"}\\n\\n65.3 and earlier:\\nACCOUNT_AUTHENTICATION_METHOD = \\\"username_email\\\"\\nACCOUNT_AUTHENTICATION_METHOD = \\\"username\\\"\\n\\n2. The username column in the database uses a collation such as utf8mb4_general_ci or utf8mb4_unicode_ci.\"}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"django-allauth before 65.19.4 does not have the expected limits on failed login attempts because, in some common configurations, an attacker can leverage the handling of diacritics (e.g., accents) for a higher effective limit.\"}], \"metrics\": [{\"cvssV3_1\": {\"attackComplexity\": \"HIGH\", \"attackVector\": \"NETWORK\", \"availabilityImpact\": \"NONE\", \"baseScore\": 3.7, \"baseSeverity\": \"LOW\", \"confidentialityImpact\": \"NONE\", \"integrityImpact\": \"LOW\", \"privilegesRequired\": \"NONE\", \"scope\": \"UNCHANGED\", \"userInteraction\": \"NONE\", \"vectorString\": \"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N\", \"version\": \"3.1\"}, \"format\": \"CVSS\", \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"problemTypes\": [{\"descriptions\": [{\"cweId\": \"CWE-180\", \"description\": \"CWE-180 Incorrect Behavior Order: Validate Before Canonicalize\", \"lang\": \"en\", \"type\": \"CWE\"}]}], \"providerMetadata\": {\"orgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"shortName\": \"mitre\", \"dateUpdated\": \"2026-09-25T04:25:57.932Z\"}, \"references\": [{\"tags\": [\"release-notes\"], \"url\": \"https://docs.allauth.org/en/latest/release-notes/recent.html\"}, {\"tags\": [\"product\"], \"url\": \"https://pypi.org/project/django-allauth/\"}, {\"tags\": [\"patch\"], \"url\": \"https://codeberg.org/allauth/django-allauth/commit/4379e7931fe7572aacc4f3b4b5f2298d5f3ecc96\"}, {\"tags\": [\"patch\"], \"url\": \"https://codeberg.org/allauth/django-allauth/commit/4e252aa2be7cef5d72d78049d6fb07cb27a89c83\"}, {\"tags\": [\"technical-description\", \"related\"], \"url\": \"https://codeberg.org/allauth/django-allauth/commit/ae472772c8f93bcb972205c9d7159051cf6f413a\"}], \"solutions\": [{\"lang\": \"en\", \"supportingMedia\": [{\"base64\": false, \"type\": \"text/html\", \"value\": \"Upgrade django-allauth to version 65.19.4 (latest). \u003cbr\u003e\"}], \"value\": \"Upgrade django-allauth to version 65.19.4 (latest).\"}], \"workarounds\": [{\"lang\": \"en\", \"supportingMedia\": [{\"base64\": false, \"type\": \"text/html\", \"value\": \"The vulnerability is NOT exposed if any of the following settings is enabled.\u003cbr\u003e\u003cbr\u003e\u003cspan style=\\\"background-color: rgb(255, 255, 255)\\\"\u003e65.4 \u003c/span\u003e\u003cspan style=\\\"background-color: rgb(255, 255, 255)\\\"\u003eand later:\u003c/span\u003e\u003cbr\u003eACCOUNT_LOGIN_METHODS = {\\\"email\\\"}\u003cbr\u003e\u003cbr\u003e65.3 and earlier:\u003cbr\u003eACCOUNT_AUTHENTICATION_METHOD = \\\"email\\\"\u003cbr\u003e\"}], \"value\": \"The vulnerability is NOT exposed if any of the following settings is enabled.\\n\\n65.4 and later:\\nACCOUNT_LOGIN_METHODS = {\\\"email\\\"}\\n\\n65.3 and earlier:\\nACCOUNT_AUTHENTICATION_METHOD = \\\"email\\\"\"}], \"x_generator\": {\"engine\": \"CVE-Request-form 0.0.1\"}}, \"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-97764\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-09-25T13:37:23.042548Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-09-25T13:37:42.586Z\"}}]}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-97764\", \"assignerOrgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"mitre\", \"dateReserved\": \"2026-09-25T04:25:57.123Z\", \"datePublished\": \"2026-09-25T04:25:57.932Z\", \"dateUpdated\": \"2026-09-25T13:37:50.367Z\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…