Vulnerability · Published Jul 20, 2026 · Assigned by GitHub_M

CVE-2026-46715Flask-Security-Too OAuth reauthentication freshness bypass via cross- user OAuth identity acceptance

Medium 5.3

In plain English

A medium-severity improper authentication in Flask-Security-Too from pallets-eco. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.4%top 71.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Flask-Security-Too allows users to add security features to their Flask applicationa. Version 5.8.0's OAuth reauthentication flow can mark a session as fresh after verifying an OAuth account that belongs to a different user. If an attacker can operate an already-authenticated but stale victim session, they can complete OAuth verification using their own OAuth identity. The victim session is then treated as recently reauthenticated, allowing freshness-protected account actions to proceed. Version 5.8.1 contains a fix for this issue.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIflask-security-too5.8.1GHSA-97r5-pg8x-p63p
PyPIflask-security-too5.8.1PYSEC-2026-2478

Affected products (as reported)

VendorProductVersions
pallets-eco Flask-Security-Too >= 5.8.0, < 5.8.1

Weakness: CWE-287 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

References