Skip to content
Heist/ feed
Back to feed
MediumFix available

django-allauth — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-65431

An issue was discovered in allauth-django before 65.13.0. Both Okta and NetIQ were using preferred_username as the identifier for third-party provider accounts. That value may be mutable and should therefore be avoided for authorization decisions. The providers are now using sub instead.

Products
django-allauth
Affected versions
0.51.0-1, 0.58.2-2, 64.1.0-1, 65.0.2-1, 65.0.2-2, 65.15.0-1, 65.19.1-1
Fixed versions
65.15.0-1
CVEs
CVE-2025-65431
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:56 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-65431

core-osv · Original source

Published 15 Dec 2025, 14:15 UTC

An issue was discovered in allauth-django before 65.13.0. Both Okta and NetIQ were using preferred_username as the identifier for third-party provider accounts. That value may be mutable and should therefore be avoided for authorization decisions. The providers are now using sub instead.

osv:DEBIAN-CVE-2025-65431

django-allauth

Fixed versions: Not specified

django-allauth

Fixed versions: Not specified

django-allauth

Fixed versions: 65.15.0-1

Complete source record
{
  "id": "0e9d17e0a32eba33af438a2b3f18e0955275128c15590cf78c85038b6b795ada",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-65431",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-65431",
    "summary": "An issue was discovered in allauth-django before 65.13.0. Both Okta and NetIQ were using preferred_username as the identifier for third-party provider accounts. That value may be mutable and should therefore be avoided for authorization decisions. The providers are now using sub instead.",
    "evidence": "osv:DEBIAN-CVE-2025-65431",
    "products": [
      {
        "name": {
          "value": "django-allauth",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.51.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.58.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "64.1.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "65.0.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "65.0.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "65.15.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "65.19.1-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "django-allauth",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "65.0.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "65.0.2-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "65.15.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "65.19.1-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "django-allauth",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "65.15.0-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "65.0.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "65.0.2-2",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2025-65431",
      "aliases": [
        "DEBIAN-CVE-2025-65431"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "django-allauth",
            "purl": "pkg:deb/debian/django-allauth?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "0.51.0-1",
            "0.58.2-2",
            "64.1.0-1",
            "65.0.2-1",
            "65.0.2-2",
            "65.15.0-1",
            "65.19.1-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-65431.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "django-allauth",
            "purl": "pkg:deb/debian/django-allauth?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "65.0.2-1",
            "65.0.2-2",
            "65.15.0-1",
            "65.19.1-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-65431.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "65.15.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "django-allauth",
            "purl": "pkg:deb/debian/django-allauth?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "65.0.2-1",
            "65.0.2-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-65431.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:44.829468080Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-65431"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-65431"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-65431",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 328609,
  "published_at": "2025-12-15T14:15:57.133+00:00"
}