Sep 2, 2026·6 min read·23 visits
Filament leaked credential validity by triggering MFA flows before verifying user authorization checks.
An authentication oracle vulnerability exists in Filament before 4.12.5 and 5.7.5. The application initiates MFA challenge workflows prior to verifying user authorization policies, allowing unauthenticated attackers to validate guessed credentials.
Filament is an open-source administration panel and form builder built for the Laravel framework. It provides developers with pre-built components for authentication, user management, and data presentation. This vulnerability affects the core authentication component of the framework, specifically the administrative login interface.
An observable response discrepancy exists within the multi-factor authentication (MFA) workflow. When a user attempts to log in, the application validates the primary credentials first. If the credentials are valid, the application immediately processes the next phase, which involves preparing the multi-factor authentication challenge.
This behavior exposes a functional side channel where an unauthenticated remote attacker can distinguish between correct and incorrect passwords for restricted accounts. The issue stems from the execution order of verification procedures, where authorization boundaries are evaluated too late in the login cycle. This flaw is classified under CWE-204: Observable Response Discrepancy.
The root cause of this vulnerability lies in the sequence of operations inside the authenticate method within the Login page component. In the vulnerable version of the codebase, primary credential verification is completed first. Once the credentials match, the application checks whether the authenticated user has configured multi-factor authentication.
If multi-factor authentication is configured, the system immediately updates the session state to reflect that the user is undergoing MFA. It then triggers the delivery of the second-factor token, such as sending an email containing a One-Time Password (OTP) or preparing the Time-based One-Time Password (TOTP) prompt. Crucially, this setup occurs before the framework evaluates the user-defined authorization policies.
The framework checks the canAccessPanel() method only after the multi-factor validation completes, or alternatively as a filter closure inside the database attempt logic for non-MFA users. Consequently, a user account that is explicitly blocked from accessing the administrative panel still triggers an MFA response if the password is correct. If the password is incorrect, the login handler returns a standard validation exception immediately, creating a clear behavioral difference.
The following diagram illustrates the vulnerable login flow where the MFA step executes prior to the panel access check:
To examine the flaw in the source code, look at packages/panels/src/Auth/Pages/Login.php. In the original implementation, the system attempted validation and immediately dispatched the MFA challenge without confirming whether the user had administrative rights:
// Vulnerable Flow
if ($this->isUserUndertakingMultiFactorAuthentication()) {
// MFA flow is initialized and user is redirected to the challenge screen
return null;
}
if (! $authGuard->attemptWhen($credentials, function (Authenticatable $user): bool {
return $user->canAccessPanel(Filament::getCurrentOrDefaultPanel());
}, $remember)) {
$this->fireFailedEvent($authGuard, $user, $credentials);
$this->throwFailureValidationException();
}The patch refactors this logic by introducing a helper function isUserAllowedToAccessPanel($user). It evaluates this policy before any MFA transitions occur, and encapsulates the operation within a timebox wrapper to prevent timing attacks:
// Patched Flow in ad5aacbc6d089b3dd7243ec1c1f8ab19dff7c3a1
if (! $this->isUserAllowedToAccessPanel($user)) {
$this->userUndertakingMultiFactorAuthentication = null;
$this->fireFailedEvent($authGuard, $user, $credentials);
$this->throwFailureValidationException();
}
$timebox->returnEarly();
return $user;This modification guarantees that unauthorized accounts fail with a generic exception at the exact same phase, neutralizing the observable behavior discrepancy.
Exploitation of this vulnerability requires an attacker to target an account that has multi-factor authentication enabled but is restricted from accessing the specific administration panel. The attacker does not need any privileged access to the target application. The vulnerability can be exploited by monitoring the application behavior during credential submission.
An attacker sends a POST request containing the target's email address and a guessed password to the login route. If the password is correct, the application responds with a redirect or a JSON payload prompting for the MFA token. Alternatively, if email MFA is enabled, the system dispatches an OTP email to the victim, which is a visible external indicator.
If the guessed password is incorrect, the application returns a standard HTTP 422 validation error stating that the credentials do not match. By comparing these outcomes, the attacker can systematically verify passwords. Although the attacker is still barred from entering the panel without the MFA token, they successfully confirm password validity, which facilitates targeted credential stuffing campaigns.
The primary impact of this vulnerability is the loss of confidentiality regarding credential validity. An attacker can use this behavior to perform efficient offline or online brute-force attacks against target accounts. This reduces the efficacy of defensive measures designed to obscure account existence or valid passwords.
A secondary impact is the potential for resource exhaustion and user harassment. Because the application triggers outbound MFA verification emails before enforcing access restrictions, attackers can spam targeted users with unsolicited OTP codes. This behavior can lead to email sender reputation degradation or exhaustion of third-party mailing API limits.
The Common Vulnerability Scoring System (CVSS) evaluates this flaw at a base score of 3.7. The complexity of exploitation is rated high because the target account must have both MFA active and be restricted from the specific administrative panel. This issue has not been observed in active exploitation in the wild according to security monitoring databases.
The most effective remediation is upgrading the Filament framework to the patched releases. The development team has resolved the issue in versions 4.12.5 and 5.7.5. Administrators must update their project dependencies using the PHP composer utility.
# Upgrade the package to the latest secure release
composer update filament/filamentIf upgrading is not immediately possible, temporary workarounds can help mitigate the risk. Security teams can configure rate limiting on the /admin/login route to throttle brute-force attempts. This limits the speed at which an attacker can leverage the oracle.
Additionally, implementing monitoring for anomalous volumes of VerifyEmailAuthentication notifications can help detect active exploitation attempts. Security teams should audit user roles regularly to ensure that accounts with MFA enabled are cleanly separated from panels they are not authorized to access.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
Filament filamentphp | >= 4.0.0, < 4.12.5 | 4.12.5 |
Filament filamentphp | >= 5.0.0, < 5.7.5 | 5.7.5 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-204 |
| Attack Vector | Network |
| CVSS v3.1 Score | 3.7 (Low) |
| EPSS Score | Not Available |
| Impact | Credential Enumeration / Information Disclosure |
| Exploit Status | Proof of Concept |
| KEV Status | Not Listed |
The product receives input, compares it to a list of allowed values, and returns a response that allows an attacker to infer which values are valid.
CVE-2026-114158 is a high-severity remote code execution vulnerability affecting Microsoft Visual Studio 2026 and multiple supported servicing branches of Microsoft .NET (.NET 8.0, 9.0, 10.0, and 11.0) on Windows. The flaw resides in the native symbol reader library, Microsoft.DiaSymReader.Native, and is triggered when parsing Portable Program Database (PDB) metadata containing malformed EmbeddedSource custom debug information records. By supplying a parent Record Identifier (RID) of zero or an out-of-bounds value, an attacker causes an integer underflow during 1-based to 0-based index conversion, leading to a heap-based buffer overflow and arbitrary code execution within the context of the host developer tool or runtime.
CVE-2026-114151 is a high-severity remote code execution vulnerability affecting Microsoft Visual Studio 2026 and multiple supported versions of the Microsoft .NET runtime on Windows. The flaw resides in the native Debug Information Access (DIA) symbol reader component, Microsoft.DiaSymReader.Native. When parsing Program Database (.pdb) files, the component fails to validate the length of serialized numeric records (specifically LF_DECIMAL structures) before unpacking them into a fixed-size stack buffer. An attacker who convinces a user or automated diagnostic process to load a crafted .pdb file can trigger a stack-based buffer overflow, resulting in arbitrary code execution within the context of the host process.
CVE-2026-105544 is a high-severity local elevation of privilege vulnerability in Microsoft .NET and Microsoft.TestPlatform.CLI. Improper access control on local inter-process communication mechanisms and execution brokers allows an authorized local attacker to cross security boundaries and execute arbitrary code in the context of a higher-privileged user running a test execution cycle.
CVE-2026-114152 is a high-severity remote code execution vulnerability affecting Microsoft Visual Studio 2026 and multiple servicing branches of the Microsoft .NET runtime (.NET 8.0, 9.0, 10.0, and 11.0) on Windows platforms. The vulnerability exists within the native symbol reader library, Microsoft.DiaSymReader.Native, specifically inside the DiaObjectFile::ApplyFixup method during the processing of Common Object File Format (COFF) relocation records. By supplying a malformed object file or Program Database (PDB) symbol file containing out-of-bounds relocation offsets or invalid symbol table indices, an unauthenticated attacker can trigger an untrusted pointer dereference (CWE-822) and a stack-based buffer overflow (CWE-121). Successful exploitation occurs when a victim opens, compiles, or debugs a malicious project or symbol artifact, leading to arbitrary code execution within the security context of the active developer environment or build process.
CVE-2026-118745 is a high-severity remote code execution vulnerability affecting Microsoft Visual Studio 2026 and multiple supported versions of the .NET runtime (8.0, 9.0, 10.0, and 11.0) on Windows systems. The flaw is a heap-based buffer overflow (CWE-122) located within the native symbol reading library, Microsoft.DiaSymReader.Native, specifically in the routines responsible for extracting and parsing Program Database (.pdb) line number metadata. An attacker can exploit this vulnerability by supplying a crafted .pdb file alongside a repository, project, or compiled binary. When a developer or automated diagnostic process parses the malformed debug symbols, an out-of-bounds heap write occurs, permitting arbitrary code execution within the security context of the active user process.
CVE-2026-109481 is a high-severity Cross-Site Request Forgery (CSRF) vulnerability in the ASP.NET Core Blazor Server and interactive component architecture. The flaw exists within the internal circuit state synchronization endpoint (`/_blazor/refresh`), which fails to enforce antiforgery token validation or verify cross-origin request headers. By inducing an authenticated victim to issue a cross-site request targeting a pre-allocated circuit identifier, an unauthenticated attacker can bind the victim's security principal to the attacker's active SignalR circuit, resulting in full privilege elevation within the application scope.