CVE-2026-142624: Laravel Nested Sometimes Validation Rules Skipped Vulnerability

MODERATE
Advisory Identifier: GHSA-f3ph-5p6j-34xr
CVSS 6.5
CWE-115 CWE-20
Published
Advisory Summary

CVE-2026-142624 is a MODERATE (CVSS 6.5) nested sometimes validation rules skipped vulnerability (CWE-115: Misinterpretation of Input) affecting Laravel libraries in the Packagist ecosystem. The issue involves nested sometimes validation rules skipped when value is __missing__. Remediation is available by upgrading affected packages to version 13.43.0, 12.72.0.

CVE-2026-142624 at a Glance

CVE Identifier CVE-2026-142624
GHSA Identifier GHSA-f3ph-5p6j-34xr
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-115: Misinterpretation of Input
Affected Product Laravel
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-142624

To remediate this vulnerability, upgrade all affected Laravel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

laravel/framework fixed: 13.43.0
Upgrade laravel/framework to 13.43.0
laravel/framework fixed: 12.72.0
Upgrade laravel/framework to 12.72.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for laravel/framework

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-142624, inspect your project dependencies for Laravel:

inspect dependencies for laravel/framework

Analyze the terminal output to locate any version of Laravel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 13.43.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-115: Misinterpretation of Input, where the product misinterprets an input, whether from an attacker or another product, in a security-relevant fashion. In Laravel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact When an attribute is nested or uses a wildcard (for example `profile.age` or `items.*.quantity`) and is validated with the `sometimes` rule, submitting the literal string `__missing__` as its value causes the attribute to be treated as absent. All of its rules are skipped, the request passes validation, and the unvalidated value is returned by `validated()`. Applications may then store or process input that did not satisfy the declared rules. Top-level attributes and nested attributes without `sometimes` are not affected. ### Patches The issue is fixed in the 12.x branch & 13.x branch, released in v12.72.0 and v13.43.0.

CVE-2026-142624 Affected Laravel Versions

2 component(s)
Fixed Versions:
13.43.012.72.0
Product / Package Ecosystem Affected Versions Fixed Version
laravel/framework
Packagist
≥ 13.0.0
< 13.43.0
13.43.0
laravel/framework
Packagist
< 12.72.0
12.72.0

References

Frequently Asked Questions

What is CVE-2026-142624?
CVE-2026-142624 is a security vulnerability in Laravel involving Nested sometimes validation rules skipped when value is __missing__ under CWE-115: Misinterpretation of Input.
Which Laravel versions are affected?
Affected versions include releases prior to 13.43.0, 12.72.0 across affected packages: laravel/framework.
What version fixes CVE-2026-142624?
Upgrading to 13.43.0, 12.72.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is laravel/framework affected?
Yes, laravel/framework is affected in releases prior to 13.43.0, 12.72.0. Upgrade your dependency to 13.43.0, 12.72.0 or later.
What is the CVSS score of CVE-2026-142624?
CVE-2026-142624 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-142624?
CVE-2026-142624 is classified under CWE-115: Misinterpretation of Input (The product misinterprets an input, whether from an attacker or another product, in a security-relevant fashion.).
How can I check Packagist dependencies for CVE-2026-142624?
Run the dependency tree command: 'inspect dependencies for laravel/framework'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-f3ph-5p6j-34xr",
  "modified" : "2026-12-03T18:53:55Z",
  "published" : "2026-12-03T18:53:55Z",
  "aliases" : [ "CVE-2026-142624" ],
  "summary" : " Laravel: Nested sometimes validation rules skipped when value is __missing__",
  "details" : "### Impact\n\nWhen an attribute is nested or uses a wildcard (for example `profile.age` or `items.*.quantity`) and is validated with the `sometimes` rule, submitting the literal string `__missing__` as its value causes the attribute to be treated as absent. All of its rules are skipped, the request passes validation, and the unvalidated value is returned by `validated()`. Applications may then store or process input that did not satisfy the declared rules. Top-level attributes and nested attributes without `sometimes` are not affected.\n\n### Patches\n\nThe issue is fixed in the 12.x branch & 13.x branch, released in v12.72.0 and v13.43.0.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "laravel/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.0.0"
      }, {
        "fixed" : "13.43.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "laravel/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "12.72.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/security/advisories/GHSA-f3ph-5p6j-34xr"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-142624"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/pull/62402"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/commit/b79483b42b701783decd0b188dafb63697a3b18b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/commit/ba9e21eb9451bab33741be99239baf8ec4ff94ca"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/laravel/framework"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/releases/tag/v12.72.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/releases/tag/v13.43.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-115", "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-03T18:53:55Z",
    "nvd_published_at" : "2026-12-02T23:18:41Z"
  }
}