Vulnerability GHSA-cgwv-q695-mj8g

Medium Risk
MEDIUM RISK
CVSS Score: 5.3
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
20 hours ago
December 03, 2026 at 06:53 PM UTC
Laravel: Unbounded $ref chain resolution in Illuminate\JsonSchema\Deserializer allows denial of service
4.0.0-BETA2 - 12.72.0 and 13.0.0 - 13.42.0
4.0.0-BETA2 - 12.72.0 and 13.0.0 - 13.42.0

Summary

Laravel: Unbounded $ref chain resolution in Illuminate\JsonSchema\Deserializer allows denial of service

Details

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

Impacted packages

Timeline

Published
20 hours ago
December 03, 2026 at 06:53 PM UTC
Fixed (12.73.0)
17 days ago
November 17, 2026 at 02:54 PM UTC
Fixed (13.43.0)
17 days ago
November 17, 2026 at 02:58 PM UTC
Last Modified
20 hours ago
December 03, 2026 at 07:00 PM UTC