GHSA-xwpv-pqxp-5v36
Filament: Password validity disclosure for accounts denied panel access on login page
Quick fix
GHSA-xwpv-pqxp-5v36 — filament/filament: upgrade to the fixed version with the command below.
composer require filament/filament:^4.12.5Details
When multi-factor authentication is enabled, the login page presents the multi-factor challenge before evaluating `canAccessPanel()`. For an account that `canAccessPanel()` denies, submitting the correct password renders the challenge while an incorrect password returns the generic failure message, allowing an unauthenticated attacker to confirm that a password is valid for that account. When email-based multi-factor authentication is used, a login code is also sent to the account holder.
This issue **only** applies to accounts that both have multi-factor authentication enabled and are denied by `canAccessPanel()`. Authentication is not bypassed as the check still runs after the challenge, and no session is created.
Are you affected?
Enter the version of the package you're using.
Affected packages
4.0.0Fixed in: 4.12.5composer require filament/filament:^4.12.55.0.0Fixed in: 5.7.5composer require filament/filament:^5.7.5References
- https://github.com/filamentphp/filament/security/advisories/GHSA-xwpv-pqxp-5v36[WEB]
- https://github.com/filamentphp/filament/pull/20308[WEB]
- https://github.com/filamentphp/filament/commit/ad5aacbc6d089b3dd7243ec1c1f8ab19dff7c3a1[WEB]
- https://github.com/filamentphp/filament[PACKAGE]
- https://github.com/filamentphp/filament/releases/tag/v4.12.5[WEB]
- https://github.com/filamentphp/filament/releases/tag/v5.7.5[WEB]