CVE-2026-142650
Received Received - Intake

PostgreSQL JSON Path Injection in Laravel

Vulnerability report for CVE-2026-142650, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: GitHub, Inc.

Description

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 / identifier segment can break out of the single-quoted SQL string literal context used by PostgreSQL JSON operators. This can lead to SQL structure injection and WHERE-condition manipulation when an application passes user-influenced JSON path input into affected Query Builder APIs. This issue is fixed in versions 13.24.0 and 12.67.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
laravel laravel to 13.24.0|end_excluding=12.67.0 (exc)
laravel laravel 13.24.0
laravel laravel 12.67.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a SQL injection flaw in Laravel's PostgreSQL Query Grammar. It occurs because single quotes in JSON path attributes are not properly escaped when compiling non-raw Query Builder APIs. This allows user-influenced input to break out of SQL string literals, potentially manipulating SQL queries and WHERE conditions.

Detection Guidance

Check Laravel version with: composer show laravel/framework. If version is below 13.24.0 or 12.67.0, the system is vulnerable. Review application code for use of PostgreSQL Query Builder APIs with user-influenced JSON path inputs.

Impact Analysis

An attacker could exploit this to manipulate SQL queries, potentially accessing or modifying unauthorized data. The attack requires high privileges but could lead to confidentiality and integrity breaches in applications using affected Laravel versions before 13.24.0 or 12.67.0.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's data protection principles and HIPAA's security requirements for protected health information. Organizations using vulnerable Laravel versions may face compliance violations and legal consequences.

Mitigation Strategies

Upgrade Laravel to version 13.24.0 or 12.67.0 or later immediately. If upgrading is not possible, review and sanitize all user inputs used in PostgreSQL JSON path attributes before passing them to Query Builder APIs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142650. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...