GHSA-f66q-9rf6-8795: Flask-Security-Too: WebAuthn reauthentication freshness bypass via cross-user assertion
Flask-Security-Too versions 5.8.0 and 5.8.1 contain a vulnerability in the WebAuthn reauthentication process that allows an authenticated attacker to bypass session freshness checks. The flaw occurs because the system marks a session as reauthentication-fresh after processing a WebAuthn assertion from any credential, without verifying that the credential belongs to the current session user. This enables an attacker who owns any WebAuthn credential registered on the deployment to satisfy the freshness gate of another user's session, potentially allowing sensitive actions that require recent reauthentication.
AI Analysis
Technical Summary
In Flask-Security-Too versions 5.8.0 and 5.8.1, the WebAuthn reauthentication path lacks a critical check to ensure that the WebAuthn credential used for reauthentication belongs to the currently authenticated user. Unlike the OAuth reauthentication path, which verifies that the user email matches the current session user, the WebAuthn path does not compare the credential's associated user to the session user. The state token used in WebAuthn reauthentication does not bind to any user, allowing replay across sessions. Consequently, an attacker with any WebAuthn credential registered on the system can submit their own WebAuthn proof within a victim's session to bypass the freshness requirement. This vulnerability requires the attacker to be authenticated on the same Flask-Security deployment and able to send requests within the victim's session context (e.g., via CSRF, XSS, or session fixation).
Potential Impact
An authenticated attacker who possesses any WebAuthn credential registered on the target deployment can bypass the session freshness check in another user's session. This bypass undermines the protection intended to require recent reauthentication for sensitive operations, potentially allowing the attacker to perform actions that should be restricted to freshly authenticated sessions. The vulnerability does not grant initial access but escalates the attacker's ability within an existing session context.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. As of the information provided, no official fix has been released for the WebAuthn reauthentication path in versions 5.8.0 and 5.8.1. Users should monitor the Flask-Security-Too project for updates addressing this issue. In the meantime, restrict the ability of attackers to send requests within victim sessions by mitigating CSRF, XSS, and session fixation vulnerabilities in the application environment.
GHSA-f66q-9rf6-8795: Flask-Security-Too: WebAuthn reauthentication freshness bypass via cross-user assertion
Description
Flask-Security-Too versions 5.8.0 and 5.8.1 contain a vulnerability in the WebAuthn reauthentication process that allows an authenticated attacker to bypass session freshness checks. The flaw occurs because the system marks a session as reauthentication-fresh after processing a WebAuthn assertion from any credential, without verifying that the credential belongs to the current session user. This enables an attacker who owns any WebAuthn credential registered on the deployment to satisfy the freshness gate of another user's session, potentially allowing sensitive actions that require recent reauthentication.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In Flask-Security-Too versions 5.8.0 and 5.8.1, the WebAuthn reauthentication path lacks a critical check to ensure that the WebAuthn credential used for reauthentication belongs to the currently authenticated user. Unlike the OAuth reauthentication path, which verifies that the user email matches the current session user, the WebAuthn path does not compare the credential's associated user to the session user. The state token used in WebAuthn reauthentication does not bind to any user, allowing replay across sessions. Consequently, an attacker with any WebAuthn credential registered on the system can submit their own WebAuthn proof within a victim's session to bypass the freshness requirement. This vulnerability requires the attacker to be authenticated on the same Flask-Security deployment and able to send requests within the victim's session context (e.g., via CSRF, XSS, or session fixation).
Potential Impact
An authenticated attacker who possesses any WebAuthn credential registered on the target deployment can bypass the session freshness check in another user's session. This bypass undermines the protection intended to require recent reauthentication for sensitive operations, potentially allowing the attacker to perform actions that should be restricted to freshly authenticated sessions. The vulnerability does not grant initial access but escalates the attacker's ability within an existing session context.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. As of the information provided, no official fix has been released for the WebAuthn reauthentication path in versions 5.8.0 and 5.8.1. Users should monitor the Flask-Security-Too project for updates addressing this issue. In the meantime, restrict the ability of attackers to send requests within victim sessions by mitigating CSRF, XSS, and session fixation vulnerabilities in the application environment.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-f66q-9rf6-8795
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a4e4ee7c9d9e3dbe3289b37
Added to database: 07/08/2026, 13:21:43 UTC
Last enriched: 07/08/2026, 13:39:32 UTC
Last updated: 07/08/2026, 17:16:53 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.