django-allauth does not reject access tokens for inactive usersGHSA-qhmc-3mvr-f2j4
MEDIUMFix: pennersr/django-allauth@39f4a4cGHSA-qhmc-3mvr-f2j4 is a medium-severity (CVSS 5.4) CWE-613 vulnerability in django-allauth. A fix is available for django-allauth — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-qhmc-3mvr-f2j4.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
django-allauthReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | django-allauth | all versions | 65.13.0pip install --upgrade 'django-allauth==65.13.0' |
Affected Products
allauthallauthDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for django-allauth, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update django-allauth to 65.13.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-qhmc-3mvr-f2j4 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is GHSA-qhmc-3mvr-f2j4 in your dependencies?
Find it across PyPI, including transitive dependencies.