Open Redirect Affecting flask-security package, versions [,5.8.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-FLASKSECURITY-17670533
  • published29 Jun 2026
  • disclosed23 Jun 2026
  • creditUnknown

Introduced: 23 Jun 2026

New CVE NOT AVAILABLE CWE-601  (opens in a new tab)

How to fix?

Upgrade Flask-Security to version 5.8.1 or higher.

Overview

Flask-Security is a Simple security for Flask apps.

Affected versions of this package are vulnerable to Open Redirect via the validate_redirect_url function. An attacker can redirect users to an attacker-controlled domain by crafting a specially formatted URL containing a backslash in the authority component, which bypasses subdomain validation. This is only exploitable if subdomain redirects are enabled in the configuration.

CVSS Base Scores

version 4.0
version 3.1