CVE-2025-65430: n/a
An issue was discovered in allauth-django before 65.13.0. IdP: marking a user as is_active=False after having handed tokens for that user while the account was still active had no effect. Fixed the access/refresh tokens are now rejected.
AI Analysis
Technical Summary
CVE-2025-65430 is a vulnerability identified in the allauth-django library, a popular Django authentication package used for managing user authentication and identity provider (IdP) functionality. The flaw exists in versions prior to 65.13.0, where the system fails to invalidate access and refresh tokens after a user account is marked as inactive (is_active=False). Normally, when an account is disabled, any issued tokens should be rejected to prevent further access. However, due to this issue, tokens handed out before deactivation remain valid, allowing an attacker or unauthorized user to continue accessing protected resources despite the account being disabled. This vulnerability is classified under CWE-613 (Insufficient Session Expiration). The CVSS 3.1 base score is 5.4, reflecting medium severity, with an attack vector of network (AV:N), low attack complexity (AC:L), requiring privileges (PR:L), no user interaction (UI:N), unchanged scope (S:U), and impacts on confidentiality and integrity but not availability (C:L/I:L/A:N). No known exploits are currently reported in the wild. The fix implemented in version 65.13.0 ensures that tokens are rejected once the user is marked inactive, restoring proper session invalidation behavior. Organizations using allauth-django for authentication should verify their version and apply updates promptly to mitigate this risk.
Potential Impact
For European organizations, this vulnerability poses a risk of unauthorized access persistence even after user accounts are disabled, potentially leading to data leakage or unauthorized actions under the guise of a deactivated user. This can undermine trust in identity management systems and complicate compliance with regulations such as GDPR, which require strict access controls and timely revocation of user privileges. The impact is particularly significant for organizations handling sensitive personal data or critical infrastructure where user deactivation is a common security control. Since the vulnerability affects token invalidation, attackers could exploit it to maintain access without needing to reauthenticate, increasing the risk of insider threats or compromised accounts being leveraged for lateral movement. Although no availability impact is noted, the confidentiality and integrity risks warrant prompt remediation. The medium severity rating suggests this is a moderate but actionable threat that should be prioritized alongside other security updates.
Mitigation Recommendations
European organizations should immediately verify if they are using allauth-django versions prior to 65.13.0 and plan an upgrade to the latest patched release. In environments where immediate patching is not feasible, temporary mitigations include implementing additional token revocation mechanisms at the application or API gateway level, such as maintaining a blacklist of tokens associated with deactivated users. Monitoring and alerting on unusual token usage patterns, especially from accounts recently marked inactive, can help detect exploitation attempts. Organizations should also review their user deactivation workflows to ensure tokens are invalidated promptly and consider shortening token lifetimes to reduce exposure windows. Integrating multi-factor authentication (MFA) can further reduce risk by adding an additional verification layer. Finally, conducting regular security audits and penetration tests focusing on authentication flows will help identify similar weaknesses.
Affected Countries
Germany, United Kingdom, Netherlands, France, Sweden
CVE-2025-65430: n/a
Description
An issue was discovered in allauth-django before 65.13.0. IdP: marking a user as is_active=False after having handed tokens for that user while the account was still active had no effect. Fixed the access/refresh tokens are now rejected.
AI-Powered Analysis
Technical Analysis
CVE-2025-65430 is a vulnerability identified in the allauth-django library, a popular Django authentication package used for managing user authentication and identity provider (IdP) functionality. The flaw exists in versions prior to 65.13.0, where the system fails to invalidate access and refresh tokens after a user account is marked as inactive (is_active=False). Normally, when an account is disabled, any issued tokens should be rejected to prevent further access. However, due to this issue, tokens handed out before deactivation remain valid, allowing an attacker or unauthorized user to continue accessing protected resources despite the account being disabled. This vulnerability is classified under CWE-613 (Insufficient Session Expiration). The CVSS 3.1 base score is 5.4, reflecting medium severity, with an attack vector of network (AV:N), low attack complexity (AC:L), requiring privileges (PR:L), no user interaction (UI:N), unchanged scope (S:U), and impacts on confidentiality and integrity but not availability (C:L/I:L/A:N). No known exploits are currently reported in the wild. The fix implemented in version 65.13.0 ensures that tokens are rejected once the user is marked inactive, restoring proper session invalidation behavior. Organizations using allauth-django for authentication should verify their version and apply updates promptly to mitigate this risk.
Potential Impact
For European organizations, this vulnerability poses a risk of unauthorized access persistence even after user accounts are disabled, potentially leading to data leakage or unauthorized actions under the guise of a deactivated user. This can undermine trust in identity management systems and complicate compliance with regulations such as GDPR, which require strict access controls and timely revocation of user privileges. The impact is particularly significant for organizations handling sensitive personal data or critical infrastructure where user deactivation is a common security control. Since the vulnerability affects token invalidation, attackers could exploit it to maintain access without needing to reauthenticate, increasing the risk of insider threats or compromised accounts being leveraged for lateral movement. Although no availability impact is noted, the confidentiality and integrity risks warrant prompt remediation. The medium severity rating suggests this is a moderate but actionable threat that should be prioritized alongside other security updates.
Mitigation Recommendations
European organizations should immediately verify if they are using allauth-django versions prior to 65.13.0 and plan an upgrade to the latest patched release. In environments where immediate patching is not feasible, temporary mitigations include implementing additional token revocation mechanisms at the application or API gateway level, such as maintaining a blacklist of tokens associated with deactivated users. Monitoring and alerting on unusual token usage patterns, especially from accounts recently marked inactive, can help detect exploitation attempts. Organizations should also review their user deactivation workflows to ensure tokens are invalidated promptly and consider shortening token lifetimes to reduce exposure windows. Integrating multi-factor authentication (MFA) can further reduce risk by adding an additional verification layer. Finally, conducting regular security audits and penetration tests focusing on authentication flows will help identify similar weaknesses.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2025-11-18T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 694017f1d9bcdf3f3ddec57d
Added to database: 12/15/2025, 2:15:13 PM
Last enriched: 12/22/2025, 2:41:42 PM
Last updated: 2/6/2026, 4:02:28 PM
Views: 58
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-2057: SQL Injection in SourceCodester Medical Center Portal Management System
MediumCVE-2024-36597: n/a
HighCVE-2024-32256: n/a
HighCVE-2024-36599: n/a
MediumCVE-2026-2056: Information Disclosure in D-Link DIR-605L
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.