GHSA-mc5j-f6wx-h9qh
Filament: Multi-factor authentication (app) recovery codes can still be used multiple times via concurrent submission
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | filament/filament | >= 4.0.0, < 4.11.5 | 4.11.5 |
| Packagist | filament/filament | >= 5.0.0, < 5.6.5 | 5.6.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
A flaw in the handling of recovery codes for **app-based multi-factor authentication** allows the same recovery code to be reused via concurrent submission. This issue does **not** affect email-based MFA. It also only applies when recovery codes are enabled.
If an attacker gains access to both the user's password and their recovery codes, they get two authenticated sessions per recovery code burned instead of one, or more if they batch the parallel submissions wider, materially extending the attacker's window of access compared to what the single-use guarantee implies.
References
External links from the advisory. They lead to third-party sites.