Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. django-allauth
  4. ›
  5. CVE-2025-65431

CVE-2025-65431: django-allauth's Okta and NetIQ implementations used a mutable identifier for authorization decisions

December 15, 2025 (updated June 5, 2026)

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.

References

  • allauth.org/news/2025/10/django-allauth-65.13.0-released
  • github.com/advisories/GHSA-8m3c-c723-h4p4
  • github.com/pennersr/django-allauth/commit/8feef46e0e07b25fc5594c8f268afa247ebc3412
  • github.com/pypa/advisory-database/tree/main/vulns/django-allauth/PYSEC-2025-111.yaml
  • nvd.nist.gov/vuln/detail/CVE-2025-65431

Code Behaviors & Features

Detect and mitigate CVE-2025-65431 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 65.13.0

Fixed versions

  • 65.13.0

Solution

Upgrade to version 65.13.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

pypi/django-allauth/CVE-2025-65431.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:06 +0000.