CVE-2026-142643

MEDIUM CVSS 3.1: 5.3 EPSS 0.44%
Updated Dec 03, 2026
PostgreSQL
Parameter Value
CVSS 5.3 (MEDIUM)
Type CWE-1287, CWE-843 (Type Confusion)
Vendor PostgreSQL
Public PoC No

Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, The exists and unique validation rules passed integer and boolean values from the request unchanged to the database query. On MySQL and MariaDB, comparing a string column with an integer casts the column to a number.

As a result, JSON input such as 0, false or [0] could satisfy a rule like required|exists:invites,code on a non-numeric string column without a valid value. An unauthenticated attacker who can submit JSON could bypass "must reference an existing record" checks. PostgreSQL and SQLite are not affected. Form-encoded input is always a string and is not affected.

This issue is fixed in versions 13.43.0 and 12.73.0.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1