Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › laravel

Medium 5.9 3 CVEs Analysis

Laravel Patches Three Medium-Severity Flaws: SQL Injection via PostgreSQL JSON Paths, Validation Bypass, and Signed-URL Overwrite

Three medium-severity Laravel framework vulnerabilities were published together, covering a PostgreSQL query grammar escaping flaw, a loose in-validation comparison, and a signed storage URL that can be replayed as an upload. The records state fixed versions for each, and none of the three is marked as known to be exploited.

What to look into

  • 3 vulnerabilities in laravel framework: 3 medium (CVSS up to 5.9).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-142650 (5.9 medium): Laravel is a web application framework. Prior to 13.24.0 and 12.67.0, Laravel's PostgreSQL Query Grammar does not escape embedded single quotes in JSON path attributes when compiling non-raw Query Bu… An attacker with administrator rights can exploit this over the network, without any user action, but only under specific conditions.
  • 1 of 3 can be attacked over the network without logging in, 1 of them without anyone clicking anything.
  • Kinds of flaws: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'); Incorrect Comparison; Incorrect Authorization.
DatabasesPHPVulnerabilitiesWeb

Key points

  • Three MEDIUM Laravel flaws were published together: CVE-2026-142650 (5.9), CVE-2026-142649 (5.3) and CVE-2026-142648 (4.9).
  • CVE-2026-142650 is the most severe: single quotes in PostgreSQL JSON path segments are not escaped, which the record says can lead to SQL injection.
  • CVE-2026-142649 lets numerically equivalent values bypass the in, Rule::in and notin validation allowlists.
  • CVE-2026-142648 lets a read-only temporary signed storage URL be replayed as a PUT upload, according to the record.

What the batch contains

NVD published three vulnerabilities in the Laravel web application framework on 2026-12-03. All three are rated MEDIUM, with CVSS scores of 5.9 (CVE-2026-142650), 5.3 (CVE-2026-142649) and 4.9 (CVE-2026-142648). The records describe them as affecting different parts of the framework, so they are best handled as separate fixes that happen to ship together.

Highest-severity issue: PostgreSQL JSON paths

CVE-2026-142650 has the highest score in the batch. According to the record, Laravel's PostgreSQL Query Grammar does not escape embedded single quotes in JSON path attributes when it compiles non-raw Query Builder calls. If user-influenced input reaches those JSON path segments, it can break out of the single-quoted SQL literal and alter the SQL structure, including WHERE conditions. The record notes that this applies only when an application passes user-influenced JSON path input into affected Query Builder APIs.

Validation rule comparisons

CVE-2026-142649 concerns the in validation rule, and Rule::in and notin which share the same code. The record says these compare scalar input to the allowlist with a non-strict comparison. Under PHP 8, numeric strings are compared numerically, so values such as whitespace-padded, leading-zero, signed or scientific-notation forms, and values with an embedded newline, can pass. The raw input is then returned by validated() or valid(). The record argues this is inconsistent with the array branch, which compares strings, and describes numeric allowlists such as feature flags or status codes as the exposed case.

Signed temporary URLs for private storage

CVE-2026-142648 affects temporary signed URLs for private local-storage objects. The signature covers only the URL and query string, while the read or write mode is decided later from request input. According to the record, a read-only signed URL can therefore be replayed as a PUT to overwrite files.

Who is affected and what to do

The records state that the first two issues are fixed in 13.24.0 and 12.67.0 (CVE-2026-142650) and in 12.67.0 and 13.26.0 (CVE-2026-142649), and that the third is fixed in 13.26.0 and 12.67.0. Administrators running Laravel 12 or 13 should move to the fixed releases. The records do not give workarounds or detection guidance, so that is not stated here.

What to do

  1. Upgrade to Laravel 13.24.0 or 12.67.0 for CVE-2026-142650, and to 13.26.0 or 12.67.0 for CVE-2026-142649 and CVE-2026-142648.
  2. Review whether user-influenced input reaches JSON path arguments in Query Builder calls on PostgreSQL.
  3. Review validation rules that use in or notin on numeric allowlists, and check whether validated() output is used as-is.

Our article about all 3 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 3 vulnerabilities

  • CVE-2026-142650 5.9 Laravel is a web application framework. Prior to 13.24.0 and 12.67.0, Laravel's PostgreSQL Query Grammar does not escape embedded single quotes in JSON path attributes when compiling non-raw Query Builder APIs. A user-influenced JSON path…
  • CVE-2026-142649 5.3 Laravel is a web application framework. Prior to 12.67.0 and 13.26.0, The in validation rule (and Rule::in, and notin via the same code) compares the scalar input to the allowlist with a non-strict inarray(). PHP 8 then compares numeric st…
  • CVE-2026-142648 4.9 Laravel is a web application framework. Prior to 13.26.0 and 12.67.0, A temporary signed read URL for a private local-storage object can be replayed as a PUT upload to the same URL path. The route signature authenticates only the URL and q…

Frequently asked questions

How many laravel framework vulnerabilities were published on December 3, 2026?

3 vulnerabilities: 3 medium, with CVSS scores up to 5.9.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-142650 (CVSS 5.9): Laravel is a web application framework. Prior to 13.24.0 and 12.67.0, Laravel's PostgreSQL Query Grammar does not escape embedded single quotes in JSON path attributes when compiling non-raw Query Bu…

Original records