Intel

AIKIDO-2025-10376

flask-oidc is vulnerable to Open Redirect

Open Redirect Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 16, 2025

75

High Risk

This Affects:

Pythonflask-oidc
2.0.0 - 2.3.1
Fixed in 2.4.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to open redirect attacks due to improper handling of malformed login and logout URLs. An attacker could craft a specially constructed URL that redirects users to an external, potentially malicious site after login or logout. This could be used for phishing, credential theft, or other social engineering attacks by abusing the trust users place in the original application.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

flask-oidc is vulnerable to Open Redirect in versions 2.0.0 - 2.3.1.

How to fix this

Upgrade the flask-oidc library to the patch version.