Vulnerabilities in pkg:pypi/django-allauth

PACKAGE
Advisory Identifier: GHSA-2jpr-83rg-v67j
Advisory Summary

CVE-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.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/django-allauth

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/django-allauth. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-2jpr-83rg-v67j CVE-2026-27982 MODERATE django-allauth has an open redirect vulnerability
GHSA-8m3c-c723-h4p4 CVE-2025-65431 MODERATE django-allauth's Okta and NetIQ implementations used a mutable identifier for authorization decisions
GHSA-qhmc-3mvr-f2j4 CVE-2025-65430 MODERATE django-allauth does not reject access tokens for inactive users

CVE-2026-27982 at a Glance

CVE Identifier CVE-2026-27982
GHSA Identifier GHSA-2jpr-83rg-v67j
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Django allauth
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (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.

django-allauth fixed: 65.14.1
pip install django-allauth>=65.14.1
Verify Direct and Transitive Dependencies

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

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.

CVE-2026-27982 Affected Django allauth Versions

1 component(s)
Fixed Versions:
65.14.1
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?
CVE-2026-27982 is a security vulnerability in Django allauth involving django-allauth has an open redirect vulnerability under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Django allauth versions are affected?
Affected versions include releases prior to 65.14.1 across affected packages: django-allauth.
What version fixes CVE-2026-27982?
Upgrading to 65.14.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is django-allauth affected?
Yes, django-allauth is affected in releases prior to 65.14.1. Upgrade your dependency to 65.14.1 or later.
What is the CVSS score of CVE-2026-27982?
CVE-2026-27982 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-27982?
CVE-2026-27982 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check PyPI dependencies for CVE-2026-27982?
Run the dependency tree command: 'pip show django-allauth'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}