Vulnerability DatabaseCVE-2026-142624

CVE-2026-142624: 
Laravel vulnerability analysis and mitigation

Overview

CVE-2026-142624 is a validation bypass vulnerability in the Laravel PHP web application framework affecting the sometimes validation rule when applied to nested or wildcard attributes. When an attacker submits the literal string __missing__ as the value for such an attribute (e.g., profile.age or items.*.quantity), Laravel's validator incorrectly treats the attribute as absent, skips all associated validation rules, and returns the unvalidated value via validated(). Affected versions are Laravel framework < 12.72.0 and >= 13.0.0, < 13.43.0; top-level attributes and nested attributes without sometimes are not affected. The vulnerability was reported by DirkHoffman, fixed on November 10, 2026, and publicly disclosed on December 2, 2026, with a CVSS v3.1 base score of 6.5 (Medium) (GitHub Advisory, Feedly).

Technical details

The root cause is improper input validation (CWE-20) combined with misinterpretation of input (CWE-115) in Laravel's validation subsystem. Internally, Laravel uses the sentinel string __missing__ to represent absent fields during nested and wildcard attribute resolution; when this literal string is submitted as actual user input, the ValidationData extraction logic misidentifies the field as absent rather than present-but-invalid, causing the sometimes rule to short-circuit and skip all subsequent validation rules. The fix introduced a new UndefinedValue class and updated ValidationData::extractDataFromPath() to distinguish between a genuinely absent field and the literal string __missing__ submitted by a user, as evidenced by the patch in PR #62402 (GitHub PR, Commit 12.x, Commit 13.x). No authentication or special privileges are required; the attack is network-accessible with low complexity.

Impact

Successful exploitation allows an unauthenticated remote attacker to bypass declared validation rules for nested or wildcard attributes protected by sometimes, causing unvalidated — and potentially malformed, malicious, or out-of-range — data to be stored or processed by the application. This can lead to low-level confidentiality and integrity impacts, such as injecting unexpected values into databases, bypassing business logic constraints, or triggering downstream processing errors. Availability is not directly impacted, and the scope is limited to the affected application component (GitHub Advisory, Feedly).

Exploitability

No public proof-of-concept exploit code or evidence of in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, indicating very low current probability of exploitation, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (Feedly). The attack requires no authentication, no user interaction, and low complexity — an attacker simply needs to submit the string __missing__ as the value of a targeted nested or wildcard field in an HTTP request to a vulnerable Laravel application (GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Identify Laravel applications (e.g., via HTTP response headers, error pages, or known routes) running framework versions < 12.72.0 or >= 13.0.0 and < 13.43.0.
  2. Identify target fields: Locate form endpoints or API routes that accept nested attributes (e.g., profile[age]) or wildcard array fields (e.g., items[][quantity]) that are validated with the sometimes rule.
  3. Craft malicious request: Submit an HTTP request (POST/PUT/PATCH) to the target endpoint, setting the value of the nested or wildcard field to the literal string __missing__. For example: profile[age]=__missing__ or items[0][quantity]=__missing__.
  4. Bypass validation: Laravel's validator misidentifies the field as absent, skips all associated validation rules (e.g., integer, in:active,inactive), and the request passes validation.
  5. Achieve objective: The unvalidated value __missing__ is returned by validated() and may be stored in the database or processed by application logic, potentially enabling data corruption, business logic bypass, or further exploitation depending on how the application uses the validated data (GitHub Advisory, GitHub PR).

Indicators of compromise

  • Network: HTTP POST/PUT/PATCH requests to application endpoints containing the literal string __missing__ as a field value in nested or array parameters (e.g., profile[age]=__missing__, items[0][quantity]=__missing__).
  • Logs: Web server or application access logs showing requests with __missing__ in request body parameters targeting endpoints that use sometimes validation rules.
  • Application/Database: Unexpected occurrences of the string __missing__ stored in database fields that should contain typed values (e.g., integers, enumerated strings); anomalous or out-of-type values in columns corresponding to validated nested attributes.

Mitigation and workarounds

Laravel has released patched versions v12.72.0 (for the 12.x branch) and v13.43.0 (for the 13.x branch), which resolve the issue by correctly distinguishing between genuinely absent fields and the literal string __missing__ submitted as user input (GitHub Release 12.72.0, GitHub Advisory). Upgrading to these versions via Composer (composer update laravel/framework) is the recommended remediation. As a temporary workaround for applications that cannot immediately upgrade, developers can add explicit server-side checks to reject the string __missing__ as a valid input value for sensitive fields, or avoid using the sometimes rule on nested/wildcard attributes until patched.

Community reactions

The advisory was published by GitHub user olivernybroe on November 18, 2026, with the fix credited to contributor crynobone (Mior Muhammad Zaki) and merged by Taylor Otwell on November 10, 2026 (GitHub PR). The vulnerability was noted as submitted with AI assistance per the GitHub advisory. No significant broader media coverage or notable researcher commentary beyond the official GitHub advisory and standard CVE aggregator coverage has been identified at this time.

Additional resources


Source: This report was generated using AI

Related Laravel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-142642MEDIUM5.4
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026
CVE-2026-142644MEDIUM5.3
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026
CVE-2026-142643MEDIUM5.3
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026
CVE-2026-142647MEDIUM4.8
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026
CVE-2026-142645MEDIUM4.8
  • Laravel logoLaravel
  • laravel/framework
NoYesDec 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management