GitHub Advisoryadvisory · PyPI
GHSA-8m3c-c723-h4p4 django-allauth's Okta and NetIQ implementations used a mutable identifier for authorization decisions
MEDIUM
Official page ↗
- Aliases
- CVE-2025-65431
- Ecosystem
- PyPI
- Packages
- django-allauth
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-287
- Reviewed
- 2025-12-16
Affected packages
• PyPI django-allauth: < 65.13.0 → fixed in 65.13.0
Description
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.
Related
Alias · CVE (1)
- CVE-2025-65431 An issue was discovered in allauth-django before 65.13.0. vulnerability
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-65431 advisory
- https://github.com/pennersr/django-allauth/commit/8feef46e0e07b25fc5594c8f268afa247ebc3412 web
- https://allauth.org/news/2025/10/django-allauth-65.13.0-released web
- https://codeberg.org/allauth/django-allauth package
- https://github.com/pypa/advisory-database/tree/main/vulns/django-allauth/PYSEC-2025-111.yaml web