CVE-2026-142623: Laravel Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-cgwv-q695-mj8g
CVSS 5.3
CWE-400 CWE-674
Published
Advisory Summary

CVE-2026-142623 is a MODERATE (CVSS 5.3) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Laravel libraries in the Packagist ecosystem. The issue involves unbounded $ref chain resolution in illuminate\jsonschema\deserializer allows denial of service. Remediation is available by upgrading affected packages to version 12.73.0, 13.43.0.

CVE-2026-142623 at a Glance

CVE Identifier CVE-2026-142623
GHSA Identifier GHSA-cgwv-q695-mj8g
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Laravel
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.3

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:N/I:N/A:L).

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 None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2026-142623

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: 12.73.0
Upgrade laravel/framework to 12.73.0
laravel/framework fixed: 13.43.0
Upgrade laravel/framework to 13.43.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-142623, 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 12.73.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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. 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 `Illuminate\JsonSchema\Deserializer` resolved chained local `$ref` pointers recursively without limiting the depth of the chain. Applications that pass attacker-influenced JSON Schema data to `JsonSchema::fromArray()` or `Deserializer::deserialize()` could be sent a crafted schema containing a long linear chain of `$ref` references. Resolving it consumes memory and CPU rapidly and can exhaust the PHP memory limit, terminating the worker process. Repeated requests can sustain the outage. Applications that only deserialize developer-defined schemas are not affected. ### Patches The fix limits the depth of chained `$ref` resolution and throws an `InvalidArgumentException` when the limit is exceeded. It has been merged into the 12.x branch: https://github.com/laravel/framework/pull/62498

CVE-2026-142623 Affected Laravel Versions

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

References

Frequently Asked Questions

What is CVE-2026-142623?
CVE-2026-142623 is a security vulnerability in Laravel involving Unbounded $ref chain resolution in Illuminate\JsonSchema\Deserializer allows denial of service under CWE-400: Uncontrolled Resource Consumption.
Which Laravel versions are affected?
Affected versions include releases prior to 12.73.0, 13.43.0 across affected packages: laravel/framework.
What version fixes CVE-2026-142623?
Upgrading to 12.73.0, 13.43.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 12.73.0, 13.43.0. Upgrade your dependency to 12.73.0, 13.43.0 or later.
What is the CVSS score of CVE-2026-142623?
CVE-2026-142623 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2026-142623?
CVE-2026-142623 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Packagist dependencies for CVE-2026-142623?
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-cgwv-q695-mj8g",
  "modified" : "2026-12-03T18:53:09Z",
  "published" : "2026-12-03T18:53:09Z",
  "aliases" : [ "CVE-2026-142623" ],
  "summary" : "Laravel: Unbounded $ref chain resolution in Illuminate\\JsonSchema\\Deserializer allows denial of service",
  "details" : "### Impact\n\n`Illuminate\\JsonSchema\\Deserializer` resolved chained local `$ref` pointers recursively without limiting the depth of the chain. Applications that pass attacker-influenced JSON Schema data to `JsonSchema::fromArray()` or `Deserializer::deserialize()` could be sent a crafted schema containing a long linear chain of `$ref` references. Resolving it consumes memory and CPU rapidly and can exhaust the PHP memory limit, terminating the worker process. Repeated requests can sustain the outage. Applications that only deserialize developer-defined schemas are not affected.\n\n### Patches\n\nThe fix limits the depth of chained `$ref` resolution and throws an `InvalidArgumentException` when the limit is exceeded. It has been merged into the 12.x branch: https://github.com/laravel/framework/pull/62498",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "laravel/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "12.73.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "laravel/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.0.0"
      }, {
        "fixed" : "13.43.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/security/advisories/GHSA-cgwv-q695-mj8g"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-142623"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/pull/62498"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/commit/97ebd4979e72756a7417a311ec7dbc2945eda278"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/laravel/framework"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/releases/tag/v12.73.0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/releases/tag/v13.43.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400", "CWE-674" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-03T18:53:09Z",
    "nvd_published_at" : "2026-12-02T23:18:41Z"
  }
}