App-based MFA bypass in filamentphp Filament when recovery codes are enabled

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-77567?

CVE-2026-77567 is a vulnerability classified as Improper Authentication, affecting filament (affected versions: >= 4.0.0, < 4.12.0 and >= 5.0.0, < 5.7.0). This vulnerability is rated High, with a CVSS score of 8.1. 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. Prior to versions 4.12.0 and 5.7.0, incorrect challenge-form required-field handling allows app-based multi-factor authentication to be bypassed when recovery codes are enabled. Email-based multi-factor authentication is not affected. This issue is fixed in versions 4.12.0 and 5.7.0.

Affected products and scope

  • Composer package filament/filament versions >= 4.0.0, < 4.12.0 are affected when app-based MFA is deployed with recovery codes enabled. The corresponding fixed release is 4.12.0.
  • Composer package filament/filament versions >= 5.0.0, < 5.7.0 are affected under the same condition. The corresponding fixed release is 5.7.0.
  • Email-based MFA is not affected according to the advisory. Coverage for branches or configurations outside the conditions above is not established by the record.

Technical details

filamentphp Filament incorrectly handles required fields in the challenge form for app-based multi-factor authentication when recovery codes are enabled. The affected logic is in the Filament Panels authentication flow, including AppAuthentication and the action used to disable app authentication.

The published fix changes the required-state condition for the OTP field so that it remains required when no recovery code is supplied, and removes the unconditional required state from the recovery-code field. The corresponding changes are in packages/panels/src/Auth/MultiFactor/App/AppAuthentication.php and packages/panels/src/Auth/MultiFactor/App/Actions/DisableAppAuthenticationAction.php.

The attack requires a Filament application with app-based MFA and recovery codes enabled, together with network reachability to the challenge form. The record characterizes the condition as requiring low privileges, low complexity, and no user interaction. The exact request sequence, deployment-specific endpoint, and submitted value sequence are not established by the available evidence.

Exploitability

The flaw is remotely reachable over the network in Filament applications that use app-based MFA with recovery codes enabled. The record describes low privileges, low complexity, and no user interaction as exploitation conditions.

The supplied record marks public_exploit as false, but that status does not prove that abuse has never occurred. The known_exploited field is not established, and the available evidence does not identify a campaign, victim, public exploit, or specific exploitation activity.

Technical impact

The flaw weakens identity verification by allowing the second factor to be bypassed in app-based MFA when recovery codes are enabled. A successful attack could provide access under the account that passed the initial authentication step, with the resulting scope determined by that account's permissions.

Possible consequences include loss of confidentiality and integrity for data within the account's authorization scope, such as reading or modifying permitted resources. The record provides no evidence that the flaw directly affects service availability, expands privileges beyond the account's scope, or affects email-based MFA.

Business impact

Bypassing app-based MFA may allow an actor who has passed the initial authentication step to obtain a session as the target account without supplying the correct second factor. Depending on that account's permissions, the resulting access could expose data, modify data, or perform administrative actions within the account's authorized scope.

The risk is concentrated in applications using recovery codes together with app-based MFA. Email-based MFA is outside the affected behavior described by the advisory. The record does not establish that any organization's data was accessed or changed, so a breach should not be inferred.

Remediation

  1. Upgrade the affected Filament 4 branch to 4.12.0, or the affected Filament 5 branch to 5.7.0. These are the confirmed fixed releases for the respective branches.
  2. Check composer.lock, the application manifest, and the package actually deployed on each server to ensure the running code has changed, not only the declared dependency.
  3. Identify applications that enable app-based MFA with recovery codes and prioritize systems protecting privileged accounts or sensitive data.
  4. After updating, test both challenge paths: OTP authentication and recovery-code use. Confirm that the challenge is not accepted without a valid factor.
  5. The record does not provide a separate temporary mitigation. Do not treat email-based MFA as a code-level substitute for updating, although that MFA method is not affected according to the advisory.

Detection

  1. Inventory PHP applications using the Composer package filament/filament, then compare deployed versions with the affected release branches.
  2. Identify deployments that enable app-based MFA and also allow recovery codes. Deployments using only email-based MFA are outside the affected behavior described here.
  3. Test the application challenge form in a controlled environment to verify that app-based MFA requires a valid OTP or valid recovery code according to the selected flow after updating.
  4. If the application records authentication outcomes, review successful sessions where the app-based MFA challenge does not record a valid OTP or recovery code. This is precautionary monitoring, not a vendor-confirmed indicator.
  5. Do not treat the absence of suspicious log records as proof of safety. Confirm exposure through version inventory and MFA configuration review.
Sources (14)
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.