ADVISORIES

GitHub Advisory Database

GHSA-r3j6-gpjw-qfjr

Filament: Multi-factor authentication (app) codes can still be used after a newer code has been used

Moderate CVE-2026-84306

Details

A flaw in the handling of one-time codes for app-based multi-factor authentication allows a previously issued code to be used after a newer code has already been accepted. This issue does not affect email-based MFA. Submitting the exact same code twice was already prevented, but any other code within the accepted time window was not.

If an attacker gains access to both the user's password and a single one-time code, that code stays usable for the remainder of its time window, which is around four minutes on the default settings, including after the legitimate user has already logged in with a newer code.

Affected packages

EcosystemPackageAffected versions
Packagistfilament/filament
From 4.0.0 before 4.12.6 (fixed in 4.12.6)
Packagistfilament/filament
From 5.0.0 before 5.7.6 (fixed in 5.7.6)

References