CVE-2026-84306: Filament: Multi-factor authentication (app) codes can still be used after a newer code has been used
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.
References
- github.com/advisories/GHSA-r3j6-gpjw-qfjr
- github.com/filamentphp/filament/commit/b6bde8572bcac75d4f5b4ec892ba7b9e91e0ab4d
- github.com/filamentphp/filament/pull/20335
- github.com/filamentphp/filament/releases/tag/v4.12.6
- github.com/filamentphp/filament/releases/tag/v5.7.6
- github.com/filamentphp/filament/security/advisories/GHSA-r3j6-gpjw-qfjr
- nvd.nist.gov/vuln/detail/CVE-2026-84306
Code Behaviors & Features
Detect and mitigate CVE-2026-84306 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →