CVE-2026-142623 is a medium-severity (CVSS 5.3) Uncontrolled Resource Consumption vulnerability in laravel/framework. A fix is available for laravel/framework — see the affected versions and patch details below.
Laravel: Unbounded $ref chain resolution in Illuminate\JsonSchema\Deserializer allows denial of service
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-142623.
Real-World Exposure
laravel/framework🐘laravel/frameworkReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
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
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | laravel/framework | all versions | 12.73.0composer require laravel/framework:^12.73.0 |
| 🐘Packagist | laravel/framework | ≥ 13.0.0&&< 13.43.0 | 13.43.0composer require laravel/framework:^13.43.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for laravel/framework, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update laravel/framework to 12.73.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-142623 is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Frequently Asked Questions
Is CVE-2026-142623 in your dependencies?
Find it across Packagist, including transitive dependencies.