CVE-2026-27982: django-allauth has an open redirect vulnerability
Medium CVSS 4.3
- OSV id
- GHSA-2jpr-83rg-v67j
- Also known as
- CVE-2026-27982, PYSEC-2026-56
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| django-allauth PyPI |
< 65.14.1 | 65.14.1 |
Versions we track that it affects: django-allauth 0.63.3
How to fix it
Upgrade django-allauth to 65.14.1 or later.
# in requirements.txt: change the line to django-allauth==65.14.1
pip install -r requirements.txt
- If it is an indirect dependency, upgrade the package that depends on it, or add a minimum version constraint for it (e.g. in constraints.txt, or as a dependency in pyproject.toml).
- Check the changelog for breaking changes (especially across major versions), update the lockfile with the package manager, and run your tests.
Not sure whether your project uses an affected version? Check your lockfile below for free.
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.
References
- GHSA-2jpr-83rg-v67j on OSV.dev
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-27982
- Web: https://allauth.org/news/2026/02/django-allauth-65.14.1-released
- Package: https://github.com/pennersr/django-allauth
- Web: https://github.com/pypa/advisory-database/tree/main/vulns/django-allauth/PYSEC-2026-56.yaml
- Web: https://jvn.jp/en/jp/JVN23669411
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: GitHub Advisory Database via OSV.dev (CC-BY 4.0). Severity comes from the advisory's own rating when it has one, else from its CVSS score.