PT-2026-166359
CVE-2026-142643
·
Published
2026-12-02
·
Updated
2026-12-02
Description by
CVSS 3.1
5.3
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions
Laravel versions prior to 13.43.0
Laravel versions prior to 12.73.0
Description
The
exists and unique validation rules pass integer and boolean values from requests directly to database queries. In MySQL and MariaDB, comparing a string column with an integer causes the column to be cast to a number. Consequently, JSON input such as 0, false, or [0] can satisfy validation rules on non-numeric string columns even without a valid value. This allows an unauthenticated attacker using JSON input to bypass checks that ensure a value must reference an existing record.Recommendations
Update Laravel to version 13.43.0 or later.
Update Laravel to version 12.73.0 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾