CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-104181

CVE-2026-104181: Authentication Bypass and Privilege Escalation in Filament Multi-Factor Authentication

Amit Schendel
Amit Schendel
Senior Security Researcher

Oct 6, 2026·6 min read·15 visits

Executive Summary (TL;DR)

Filament failed to prompt for the user's password when modifying, disabling, or establishing app-based multi-factor authentication (MFA). If an attacker hijacked an active session, they could bind their own MFA token or disable the user's protection without knowing the master password.

An authentication bypass and privilege escalation vulnerability exists in Filament (filamentphp/filament) due to missing password verification during multi-factor authentication (MFA) setup and management. An attacker with access to an active session can modify or disable MFA, leading to account hijacking.

Vulnerability Overview

The Filament administration panel framework, which operates as a rapid-application development layer for the Laravel PHP framework, exposes crucial user profile operations through its web interface. Among these operations are management workflows for app-based multi-factor authentication (MFA). In standard secure architectures, modifications to multi-factor settings must reside behind a re-authentication barrier to ensure that only the verified account owner can alter credential settings.

Prior to the resolution of CVE-2026-104181, Filament did not consistently enforce step-up authentication or password verification for critical MFA-related actions. The components representing TOTP (Time-Based One-Time Password) setup, recovery code regeneration, and MFA deactivation did not require the user's current password. This omission created a significant vulnerability surface, leaving these functions accessible to any user session containing active authentication cookies.

Because Filament relies heavily on Laravel Livewire, its user interfaces are driven by backend-driven AJAX requests. These requests execute action logic based on the user's current session state. Consequently, any security control depending strictly on the assumption that a user has visual physical control of their screen or session is bypassed if an unauthorized entity can trigger these actions over the network.

Root Cause Analysis

The root cause of this vulnerability lies in a Missing Authentication for Critical Function defect, classified under CWE-306. Specifically, three Filament core action classes responsible for TOTP/App-based MFA operations omitted password confirmation logic: DisableAppAuthenticationAction, RegenerateAppAuthenticationRecoveryCodesAction, and SetUpAppAuthenticationAction.

In a standard secure web application workflow, the configuration of authentication factors is treated as a sensitive administrative context. Any request to toggle MFA settings must require the user to input their password. This pattern acts as a primary defense against session hijacking and physical console access.

Within the vulnerable Filament versions, the multi-factor management forms allowed users to complete actions by merely supplying a valid current code (in the case of disabling) or by executing the action directly (in the case of regeneration or setup). Because the execution did not prompt for or validate the underlying account password against the authentication guard, the system assumed authorization purely based on session state validity.

Code Analysis

A detailed review of the patch implemented in commit 6d4dae6d7a94ce5aefd7ed4dc836acb0e6b71bb1 demonstrates the transition from unauthenticated state mutation to verified, rate-limited step-up verification.

The patch integrates a password field directly into the action's modal form schemas using Filament's form builder component. This field leverages Laravel's active authentication guard to evaluate the submitted value against the hashed password stored in the database. Below is the structured representation of the implementation within the affected action classes:

// Integration of the password input element into the action form
$passwordInput = TextInput::make('password')
    ->label(__('filament-panels::auth/multi-factor/app/actions/disable.modal.form.password.label'))
    ->validationAttribute(__('filament-panels::auth/multi-factor/app/actions/disable.modal.form.password.validation_attribute'))
    ->currentPassword(guard: Filament::getAuthGuard())
    ->password()
    ->revealable(Filament::arePasswordsRevealable())
    ->required()
    ->dehydrated(false);

To ensure validation is executed securely, the patch hooks into the Livewire component lifecycle, forcing validation of the user's password state path before any action logic executes:

->beforeFormValidated(function (Component $livewire) use ($passwordInput, $rateLimitAuthenticationAttempt): void {
    $passwordStatePath = $passwordInput->getStatePath();
 
    $rateLimitAuthenticationAttempt($passwordStatePath);
 
    $livewire->validateOnly(
        $passwordStatePath,
        [$passwordStatePath => $passwordInput->getValidationRules()],
        attributes: [$passwordStatePath => $passwordInput->getValidationAttribute()],
    );
})

To mitigate the risk of password brute-forcing within the authenticated session, a throttle mechanism was added. It uses the Laravel cache to limit attempts to five per session:

$rateLimitAuthenticationAttempt = static function (string $passwordStatePath): void {
    $rateLimitingKey = 'filament-disable-app-authentication:' . Filament::auth()->id();
 
    if (RateLimiter::tooManyAttempts($rateLimitingKey, maxAttempts: 5)) {
        throw ValidationException::withMessages([
            $passwordStatePath => __('filament-panels::auth/multi-factor/app/actions/disable.modal.form.code.messages.rate_limited'),
        ]);
    }
 
    RateLimiter::hit($rateLimitingKey);
};

This remediation pattern is applied uniformly across all three actions. It establishes complete coverage of the vulnerable endpoints and effectively closes the bypass route.

Exploitation Methodology

Exploitation of CVE-2026-104181 relies on the attacker first securing access to an active, authenticated session. This prerequisite is attainable through several common vectors, including Cross-Site Scripting (XSS), physical device access, or local session hijacking.

Once inside the session, the attacker interacts with the Filament panel's user profile interface. If MFA is already configured on the target account, the attacker executes the deactivation action. Because the system does not prompt for the user's master password, the attacker can use a single active code from the legitimate user's device (if accessible) or exploit a scenario where they can regenerate recovery codes to achieve persistent backend access.

If MFA is not yet configured, the attacker registers their own mobile authenticator device. Since the setup flow does not demand password validation, Filament binds the attacker's cryptographic secret key to the victim's account. This achieves persistent access, locking out the legitimate owner and enabling subsequent MFA challenge bypasses.

Impact Assessment

The security impact of this vulnerability is measured by the potential for permanent account compromise and persistent administrative lockout. An attacker who successfully updates or registers an MFA token on a high-privilege account (such as a Filament administrator) can establish persistence that survives a basic password reset if the system continues to demand MFA validation.

The CVSS v3.1 score of 5.4 reflects the medium severity of the issue, influenced primarily by the requirement of low-privileged authenticated access (PR:L). However, within enterprise environments, administrative sessions are high-value targets, and the actual risk of account takeover via this vector is substantial.

No general confidentiality impact exists since general database contents are not directly leaked. However, integrity and availability impacts are elevated because user authentication settings are modified and users can be locked out.

Mitigation and Remediation

To resolve this vulnerability, system administrators must update the Filament framework within their Laravel project files. Immediate patching is the only complete defense against the exploitation vectors described.

Filament versions 4.13.3 and 5.8.3 introduce the required password verification and rate-limiting features. Project dependency configurations should be updated immediately to target these versions or higher.

In environments where updates cannot be deployed instantly, developers can mitigate the risk by auditing their custom profile pages. This ensures that any action mutating security settings implements step-up password verification manually. Monitoring the application cache for authentication-related rate limits can also assist in detecting active attempts to abuse the endpoints.

Official Patches

filamentphpSecurity Advisory and Patch Details

Fix Analysis (1)

Technical Appendix

CVSS Score
5.4/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
EPSS Probability
0.34%
Top 75% most exploited

Affected Systems

Filament Panel Builder application instances using app-based multi-factor authentication (TOTP).

Affected Versions Detail

Product
Affected Versions
Fixed Version
Filament
filamentphp
>= 4.0.0, < 4.13.34.13.3
Filament
filamentphp
>= 5.0.0, < 5.8.35.8.3
AttributeDetail
CWE IDCWE-306
Attack VectorNetwork (AV:N)
CVSS Score5.4
EPSS Score0.0034
ImpactAccount Takeover / Multi-Factor Authentication Bypass
Exploit Statuspoc
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1190Exploit Public-Facing Application
Initial Access
T1098Account Manipulation
Persistence
T1556.006Modify Authentication Process: Multi-Factor Authentication
Defense Evasion
CWE-306
Missing Authentication for Critical Function

The application does not perform identity authentication or validation steps when a user attempts to execute a highly sensitive action, specifically mutating multi-factor authentication parameters.

Known Exploits & Detection

GitHubGitHub Security Advisory details explaining the authentication vulnerability.

Vulnerability Timeline

Vulnerability patched in source repository via commit 6d4dae6d7a94ce5aefd7ed4dc836acb0e6b71bb1
2026-09-18
CVE and GitHub Security Advisory GHSA-7m6h-rg42-m449 published
2026-10-01
CVSS metrics analyzed and updated by NVD
2026-10-06

References & Sources

  • [1]GHSA-7m6h-rg42-m449 Advisory on GitHub
  • [2]NVD CVE-2026-104181 Detail
  • [3]Fix Commit

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•about 1 hour ago•CVE-2026-62297
7.5

CVE-2026-62297: Uncontrolled Memory Allocation and Denial of Service in ag-psd

An uncontrolled memory allocation vulnerability exists in ag-psd versions prior to 31.0.0. When parsing Adobe Photoshop Document (PSD) files, the readPsd() function reads image dimensions and color depth directly from the file header and allocates off-heap typed arrays without validating whether the requested memory size is proportional to the input stream or bounded by operational thresholds. An unauthenticated attacker can supply a crafted 52-byte PSD payload that triggers an immediate 3.35 GB memory allocation, resulting in process termination via the operating system Out-Of-Memory (OOM) killer.

Amit Schendel
Amit Schendel
2 views•10 min read
•about 2 hours ago•CVE-2026-126297
7.5

CVE-2026-126297: Algorithmic Complexity Denial of Service in NLTK ConllCorpusReader

CVE-2026-126297 (GHSA-v8f3-6phw-6mh9) is an uncontrolled resource consumption and algorithmic complexity vulnerability in the Natural Language Toolkit (NLTK) prior to version 3.10.4. Located in the Semantic Role Labeling (SRL) parser within `nltk/corpus/reader/conll.py`, the flaw allows an attacker to trigger quadratic O(N^2) CPU processing overhead by providing crafted CoNLL-formatted corpus inputs containing decoy span columns or nested full-width verb spans. Applications parsing untrusted linguistic corpora can experience prolonged CPU exhaustion and application-level Denial of Service (DoS).

Amit Schendel
Amit Schendel
3 views•12 min read
•about 3 hours ago•CVE-2026-126298
7.5

CVE-2026-126298: Quadratic Algorithmic Complexity Denial of Service in NLTK Tree.chomsky_normal_form

CVE-2026-126298 (also tracked as GHSA-r53h-rw34-8h97) is an algorithmic complexity Denial of Service (DoS) vulnerability in the Natural Language Toolkit (NLTK) Python library affecting all versions prior to 3.10.4. The vulnerability resides in the nltk.tree.transforms.chomsky_normal_form function and its corresponding public method Tree.chomsky_normal_form(). When transforming a parse tree into Chomsky Normal Form using the default right-factoring strategy, the function repeatedly invokes list.pop(0) inside a loop iterating over all children of a node. In CPython, removing the initial element of a standard list requires an O(N) memory shift operation, causing the overall binarization algorithm to degrade to O(N^2) quadratic time complexity relative to the width of a node. Furthermore, converting horizontal node width into vertical tree depth bypasses initial parsing depth bounds, triggering subsequent stack exhaustion (RecursionError) when recursive methods traverse the mutated structure. Unauthenticated remote attackers who can submit bracketed tree strings to applications invoking this transformation can exhaust single-threaded CPU resources or induce unhandled application exceptions.

Alon Barad
Alon Barad
6 views•12 min read
•about 4 hours ago•CVE-2026-126299
7.5

CVE-2026-126299: Quadratic Algorithmic Complexity Denial of Service in NLTK CCG Lexicon Parser

An algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) before version 3.10.4 allows remote unauthenticated attackers to cause a denial of service via crafted Combinatory Categorial Grammar (CCG) lexicon strings. The parser in nltk.ccg.lexicon.fromstring performs repeated immutable string slicing, concatenation, and regex tail capturing, resulting in O(n^2) CPU consumption when processing wide, flat category definitions.

Alon Barad
Alon Barad
5 views•10 min read
•about 5 hours ago•CVE-2026-126295
7.1

CVE-2026-126295: Path Traversal and Unconfined File Access in NLTK BllipParser

CVE-2026-126295 (also tracked as GHSA-fg9w-wfp5-j933) is a path confinement bypass vulnerability in the Natural Language Toolkit (NLTK) affecting versions 3.10.0 prior to 3.10.4. The flaw resides in nltk/parse/bllip.py within the BllipParser class and its factory method BllipParser.from_unified_model_dir(). Unlike sibling tool wrappers in NLTK that enforce data-root confinement via the nltk.pathsec module, BllipParser passes caller-supplied filesystem paths directly into the third-party bllipparser native C extension without validation. When an application passes untrusted input as model paths or directories to BllipParser, an attacker can force the native extension to open arbitrary files on the local filesystem. This leads to information disclosure through parser diagnostic oracles, local model tampering via shared directories, and denial of service by hanging worker threads on blocking special files (such as FIFOs or device nodes) or exhausting memory via oversized files.

Amit Schendel
Amit Schendel
2 views•11 min read
•about 6 hours ago•CVE-2026-126300
5.3

CVE-2026-126300: Algorithmic Complexity Denial of Service in NLTK TreebankWordTokenizer.span_tokenize

CVE-2026-126300 (GHSA-ffr9-mgrr-wcvr) is an inefficient algorithmic complexity vulnerability (CWE-407) in the Natural Language Toolkit (NLTK) Python library affecting versions 3.2.5 prior to 3.10.4. The flaw resides in the quote-restoration routine of TreebankWordTokenizer.span_tokenize and NLTKWordTokenizer.span_tokenize, where repeated calls to list.pop(0) over matched quote tokens introduce quadratic O(n^2) time complexity. An unauthenticated remote attacker who supplies input containing long sequences of double-quote characters can exhaust CPU resources and degrade service availability.

Amit Schendel
Amit Schendel
3 views•10 min read