Read the docs
TI-2021-06078 Aliases CVE-2021-23385GHSA-cg8c-gc2j-2wf7

Open redirect in Flask-Security

Priority LOW 30CWE-601Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Spoofing
Confidentiality · integrity · availability
Low · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-601.

Summary

This affects all versions of package Flask-Security. When using the get_post_logout_redirect and get_post_login_redirect functions, it is possible to bypass URL validation and redirect a user to an arbitrary URL by providing multiple back slashes such as \\\evil.com/path. This vulnerability is only exploitable if an alternative WSGI server other than Werkzeug is used, or the default behaviour of Werkzeug is modified using 'autocorrect_location_header=False. **Note:** Flask-Security is not maintained anymore.

Why it matters now

EPSS 0.01247 69th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Flask-Securityall versions—No fix listedCNA
—Flask-Security (PyPI)up to 3.0.0—No fix listedGHSA-cg8c-gc2j-2wf7
  • Flask-Security Vendor— Affected all versions Fixed in — No fix listed CNA
  • Flask-Security (PyPI) Vendor— Affected up to 3.0.0 Fixed in — No fix listed GHSA-cg8c-gc2j-2wf7

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:flask-security_project:flask-security:*:*:*:*:*:*:*:*all versionsVulnerableFlask-security Project
  • cpe:2.3:a:flask-security_project:flask-security:*:*:*:*:*:*:*:* Versions all versions Vulnerable ·Flask-security Project

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23385
  2. 2026-10-03 Alias added: GHSA-cg8c-gc2j-2wf7

References

  • TI-2021-12287 Open redirect in Flask-Middleware flask-security CVSS 3.1MEDIUM 6.1

Sources