Always-Incorrect Control Flow Implementation Affecting flask-security package, versions [5.8.0,5.8.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.28% (20th percentile)

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 IDSNYK-PYTHON-FLASKSECURITY-16874295
  • published25 May 2026
  • disclosed22 May 2026
  • credit0xHunSec

Introduced: 22 May 2026

CVE-2026-46715  (opens in a new tab)
CWE-670  (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 Always-Incorrect Control Flow Implementation in the OAuth reauthentication for stale sessions. An attacker can perform unauthorized account actions by completing OAuth verification with their own identity in a stale, authenticated victim session, causing the session to be marked as freshly reauthenticated and allowing actions such as changing the victim's username.

CVSS Base Scores

version 4.0
version 3.1