Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-27982: URL redirection to untrusted site ('Open Redirect') in allauth django-allauth

0
Medium
VulnerabilityCVE-2026-27982cvecve-2026-27982
Published: Thu Mar 05 2026 (03/05/2026, 05:31:25 UTC)
Source: CVE Database V5
Vendor/Project: allauth
Product: django-allauth

Description

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.

AI-Powered Analysis

AILast updated: 03/05/2026, 05:48:23 UTC

Technical Analysis

CVE-2026-27982 is an open redirect vulnerability identified in the django-allauth library, a popular authentication solution for Django web applications. The vulnerability exists in all versions prior to 65.14.1 and manifests when the SAML Identity Provider (IdP) initiated Single Sign-On (SSO) feature is enabled, which is disabled by default. The flaw allows an attacker to craft a malicious URL that, when clicked by a user, redirects them to an arbitrary external website without proper validation or sanitization of the redirect target. This can be exploited to conduct phishing attacks by redirecting users to malicious sites that mimic legitimate services, potentially leading to credential theft or malware distribution. The vulnerability does not require any authentication and only requires user interaction (clicking the crafted URL). The CVSS 3.0 base score is 4.3 (medium severity), reflecting the ease of exploitation and limited impact on confidentiality and availability but some impact on integrity due to user deception. No known exploits have been reported in the wild as of the publication date. The vulnerability was publicly disclosed on March 5, 2026, and the recommended fix is to upgrade django-allauth to version 65.14.1 or later, where input validation for redirect URLs has been improved to prevent open redirects.

Potential Impact

The primary impact of this vulnerability is the facilitation of phishing and social engineering attacks. By redirecting users to attacker-controlled sites, adversaries can impersonate legitimate services, trick users into divulging sensitive information, or deliver malware payloads. Although the vulnerability does not directly compromise system confidentiality or availability, the indirect consequences can be severe, including credential compromise and subsequent unauthorized access. Organizations relying on django-allauth with SAML IdP initiated SSO enabled may see increased risk of user-targeted attacks, potentially damaging brand reputation and user trust. The vulnerability's exploitation requires user interaction, which limits automated large-scale exploitation but does not eliminate targeted attacks. Given the widespread use of Django in web applications globally, especially in enterprise environments leveraging SAML for federated authentication, the risk is non-trivial. No known active exploitation reduces immediate urgency but patching is critical to prevent future attacks.

Mitigation Recommendations

1. Upgrade django-allauth to version 65.14.1 or later immediately to apply the patch that fixes the open redirect vulnerability. 2. If upgrading is not immediately feasible, disable SAML IdP initiated SSO, as it is disabled by default and the vulnerability only manifests when this feature is enabled. 3. Implement strict validation and sanitization of redirect URLs in custom authentication flows to ensure only trusted domains are allowed. 4. Educate users about the risks of clicking on suspicious links, especially those that appear to redirect to external sites. 5. Monitor web application logs for unusual redirect patterns or suspicious URL parameters that could indicate exploitation attempts. 6. Employ web application firewalls (WAFs) with rules to detect and block open redirect attempts targeting your applications. 7. Conduct regular security assessments and penetration testing focusing on authentication and redirection mechanisms to identify similar vulnerabilities.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
jpcert
Date Reserved
2026-02-25T04:48:37.210Z
Cvss Version
3.0
State
PUBLISHED

Threat ID: 69a915a0d1a09e29cbe15aaa

Added to database: 3/5/2026, 5:33:20 AM

Last enriched: 3/5/2026, 5:48:23 AM

Last updated: 3/5/2026, 9:22:35 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses