Filament: Multi-factor authentication (app) recovery codes can still be used multiple times via concurrent submission
Package
Affected versions
>= 4.0.0, < 4.11.5
>= 5.0.0, < 5.6.5
Patched versions
4.11.5
5.6.5
Description
Published by the National Vulnerability Database
Jun 22, 2026
Published to the GitHub Advisory Database
Jun 25, 2026
Reviewed
Jun 25, 2026
Last updated
Jun 25, 2026
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