filamentphp Filament app-based MFA recovery-code race condition enables repeated use

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-48505?

CVE-2026-48505 is a vulnerability classified as Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') and Improper Enforcement of Behavioral Workflow, affecting filament (affected versions: >= 4.0.0, < 4.11.5 and >= 5.0.0, < 5.6.5). This vulnerability is rated High, with a CVSS score of 7.4. Current sources do not report this vulnerability as exploited.

Overview

Original source data

Filament is a collection of full-stack components for accelerated Laravel development. From 4.0.0 until 4.11.5 and 5.6.5, 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. This vulnerability is fixed in 4.11.5 and 5.6.5.

Affected products and scope

  • Filament 4 branch: affected in >= 4.0.0, < 4.11.5; the confirmed fix is 4.11.5.
  • Filament 5 branch: affected in >= 5.0.0, < 5.6.5; the confirmed fix is 5.6.5.
  • The stated scope is limited to deployments with recovery codes enabled and app-based MFA in use. Email-based MFA is not affected according to the advisory.

Technical details

The affected component is Filament's recovery-code handling for app-based MFA. The flaw combines a race condition (CWE-362) with improper enforcement of the single-use workflow (CWE-841): concurrent requests can cause the same code to be accepted more than once before single-use enforcement prevents further acceptance. The attacker-controlled input is the recovery code submitted through the network-reachable authentication flow, and the required precondition is possession of both the user's password and recovery codes. The structured record indicates that no pre-existing application privileges or user interaction are required, but the attacker must meet the credential precondition and exploit a concurrent timing window. A successful race can produce two authenticated sessions from one consumed recovery code, or more when the parallel submission batch is widened. The available evidence does not establish the underlying persistence, transaction, locking, or endpoint implementation details.

Exploitability

  • Reachability: The flaw is in a network-based authentication flow.
  • Preconditions: Recovery codes must be enabled, MFA must be app-based, and the attacker must possess both the user's password and recovery codes. Email-based MFA is outside the described scope.
  • Complexity and interaction: The structured record indicates that no prior privileges or user interaction are required; exploitation still requires a timing condition between concurrent submissions.
  • Status: The supplied record does not identify a public exploit. The CISA enrichment returned during research records exploitation as none and automatable as no. That status does not prove that future exploitation is impossible.

Technical impact

The technical outcome is that one recovery code used for app-based MFA can create multiple authenticated sessions when requests are processed concurrently. Those sessions remain within the victim account's authorization boundary, so the effect depends on that account's permissions and can affect data confidentiality and integrity. The record does not indicate that the flaw changes scope into another security authority or causes an availability loss. Exploitation is constrained by the need for both the password and recovery codes, as well as the ability to create concurrent submissions.

Business impact

If exploited, one recovery code can create multiple authenticated sessions instead of only one. This can extend the period during which an attacker acts with the victim account's permissions and may allow access to or modification of data reachable by that account. The practical effect depends on the account's privileges and the number of recovery codes available. The record does not describe a service-availability effect or a specific breach scenario.

Remediation

  1. Upgrade the Filament 4 branch to 4.11.5 or the Filament 5 branch to 5.6.5, matching the deployed branch. These are the confirmed patched releases; do not assume that an unverified later or parallel branch is covered.
  2. Check Composer lockfiles, build artifacts, and the package installed on each server to confirm that the patched release is actually deployed rather than only declared in project metadata.
  3. If immediate patching is not possible, consider disabling recovery codes as a temporary risk-reduction measure because the issue applies only when they are enabled. This is a precaution inferred from the stated precondition, not a vendor-confirmed workaround.
  4. After patching, recheck deployments using app-based MFA and recovery codes to ensure that no instance remains in an affected range.

Detection

  1. Inventory deployments using the Composer package filament/filament, checking the version in lockfiles and the version actually deployed.
  2. Identify deployments with app-based MFA and recovery codes enabled. Deployments using only email-based MFA are outside the described scope.
  3. Compare deployed branches and versions with the affected ranges in affected_summary.
  4. As a precautionary review, examine authentication telemetry for near-simultaneous recovery-code submissions followed by multiple authenticated sessions for the same account. The advisory does not define a log event, endpoint, IOC, or other specific detection signature; absence of such evidence does not prove safety.
Sources (11)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.