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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | flask-security-too | 5.8.1 | GHSA-97r5-pg8x-p63p |
| PyPI | flask-security-too | 5.8.1 | PYSEC-2026-2478 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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