CVE-2025-65431: allauth-django · Improper Authentication
Affects allauth-djangoSource CVE Database V5
Not known to be exploited · CVSS 5.4 Medium : upgrade to 65.13.0 when convenient.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 65.13.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade allauth-django to 65.13.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIallauth-djangopkg:pypi/allauth-djangoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately upgrade allauth-django to version 65.13.0 or later, where the vulnerability is fixed by switching from 'preferred_username' to the immutable 'sub' attribute for user identification. Additionally, organizations should audit their authentication and authorization logic to ensure no reliance on mutable attributes for critical security decisions. Implement strict privilege management and monitoring to detect any anomalous changes in user attributes or suspicious authentication behavior. Where possible, enforce multi-factor authentication (MFA) to reduce the risk of account compromise that could lead to exploitation. Regularly review and update identity provider configurations to ensure compliance with best practices for attribute usage. Conduct penetration testing and code reviews focusing on authentication flows to identify similar weaknesses. Finally, maintain up-to-date inventories of software dependencies and apply security patches promptly to reduce exposure time.
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.