Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-142643
Published:December 02, 2026
Updated:December 03, 2026
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.
Affected Packages
https://github.com/laravel/framework.git (GITHUB):
Affected version(s) >=v4.0.0-BETA2 <v12.73.0 || >=v5.0.0 <v12.73.0 || >=v6.0.0 <v12.73.0 || >=v7.0.0 <v12.73.0 || >=v8.0.0 <v12.73.0 || >=v9.0.0 <v12.73.0 || >=v9.0.0-beta.1 <v12.73.0 || >=v10.0.0 <v12.73.0 || >=v11.0.0 <v12.73.0 || >=v12.0.0 <v12.73.0
Fix Suggestion:
Update to version v12.73.0
https://github.com/laravel/framework.git (GITHUB):
Affected version(s) >=v13.0.0 <v13.43.0
Fix Suggestion:
Update to version v13.43.0
laravel/framework (PHP):
Affected version(s) >=v13.0.0 <v13.43.0
Fix Suggestion:
Update to version v13.43.0
laravel/framework (PHP):
Affected version(s) >=v10.0.0 <v12.73.0 || >=v4.0.0-BETA2 <v12.73.0 || >=v11.0.0 <v12.73.0 || >=v7.0.0 <v12.73.0 || >=v8.0.0 <v12.73.0 || >=v5.0.0 <v12.73.0 || >=v9.0.0 <v12.73.0 || >=v12.0.0 <v12.73.0 || >=v6.0.0 <v12.73.0 || >=v9.0.0-beta.1 <v12.73.0
Fix Suggestion:
Update to version v12.73.0
illuminate/validation (PHP):
Affected version(s) >=v4.0.0-BETA2 <v12.73.0 || >=v9.0.0 <v12.73.0 || >=v7.0.0 <v12.73.0 || >=v11.0.0 <v12.73.0 || >=v6.0.0 <v12.73.0 || >=v8.0.0 <v12.73.0 || >=v5.0.0 <v12.73.0 || >=v10.0.0 <v12.73.0 || >=v12.0.0 <v12.73.0 || >=v9.0.0-beta.1 <v12.73.0
Fix Suggestion:
Update to version v12.73.0
illuminate/validation (PHP):
Affected version(s) >=v13.0.0 <v13.43.0
Fix Suggestion:
Update to version v13.43.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Validation of Specified Type of Input
Access of Resource Using Incompatible Type
EPSS
Base Score:
0.44