CVE-2025-65431 Details
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.
A vulnerability exists in django-allauth versions prior to 65.13.0, specifically in the integration with Okta and NetIQ. These providers used 'preferred_username' as the identifier for third-party accounts, a value that can be changed and should not be relied upon for authorization. The issue has been addressed in version 65.13.0, with providers now using 'sub' as the identifier instead.
Users of django-allauth with Okta or NetIQ integrations should update to version 65.13.0. After updating, existing SocialAccount records will need to be manually linked to the new identifier. This can be done by populating the SocialAccount.uid field with the 'sub' value from SocialAccount.extra_data, or by adjusting the SocialApp.settings to use 'preferred_username' if the security concern is deemed irrelevant.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://allauth.org/news/2025/10/django-allauth-65.13.0-released/ | [email protected] | Release Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-287 | Improper Authentication | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| allauth allauth | < 65.13.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 23, 2025 | Initial Analysis | [email protected] |
| Dec 16, 2025 | CVE Modified | CISA-ADP |
| Dec 15, 2025 | New CVE Received | [email protected] |