CVE-2026-27982: Django allauth Django-allauth Has An Open Redirect Vulnerability
MODERATECVE-2026-27982 is a MODERATE (CVSS 4.3) django-allauth has an open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Django allauth libraries in the PyPI ecosystem. The issue involves django-allauth has an open redirect vulnerability. Remediation is available by upgrading affected packages to version 65.14.1.
CVE-2026-27982 at a Glance
Security Impact
CVSS: 4.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N).
How to Fix CVE-2026-27982
To remediate this vulnerability, upgrade all affected Django allauth dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install django-allauth>=65.14.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show django-allauth
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-27982, inspect your installed packages using pip:
pip show django-allauth
Analyze the terminal output to locate any version of Django allauth in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 65.14.1), your application is affected.
Note: The pip show django-allauth command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Django allauth, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-27982 Affected Django allauth Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
django-allauth
|
PyPI |
< 65.14.1
|
65.14.1
|
References
Frequently Asked Questions
What is CVE-2026-27982?
Which Django allauth versions are affected?
What version fixes CVE-2026-27982?
Is django-allauth affected?
What is the CVSS score of CVE-2026-27982?
What CWE is associated with CVE-2026-27982?
How can I check PyPI dependencies for CVE-2026-27982?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2jpr-83rg-v67j",
"modified" : "2026-06-05T16:25:18Z",
"published" : "2026-03-05T06:30:27Z",
"aliases" : [ "CVE-2026-27982" ],
"summary" : "django-allauth has an open redirect vulnerability",
"details" : "An open redirect vulnerability exists in django-allauth versions prior to 65.14.1 when SAML IdP initiated SSO is enabled (it is disabled by default), which may allow an attacker to redirect users to an arbitrary external website via a crafted URL.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "django-allauth"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "65.14.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-27982"
}, {
"type" : "WEB",
"url" : "https://allauth.org/news/2026/02/django-allauth-65.14.1-released"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pennersr/django-allauth"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/django-allauth/PYSEC-2026-56.yaml"
}, {
"type" : "WEB",
"url" : "https://jvn.jp/en/jp/JVN23669411"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-05T21:15:25Z",
"nvd_published_at" : "2026-03-05T06:16:30Z"
}
}