CVE-2026-142643: Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB
Vulnerability summary
CVE-2026-142643 is a medium (CVSS 5.3) vulnerability in laravel framework. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 39.9% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-12-2026PublishedVulnerability first disclosed.
- 03-12-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
0.44%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-843Access of Resource Using Incompatible TypeThe product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
- CWE-1287Improper Validation of Specified Type of InputThe product receives input that is expected to be of a certain type, but it does not validate or incorrectly validates that the input is actually of the expected type.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard1 product
- linuxserver-heimdalAll versions (No fix recorded)
Laravel1 product
- framework≥ 13.0.0, < 13.43.0 | < 12.73.0
2 vendors · 2 products
References
7 links- github.com/laravel/framework/security/advisories/GHSA-wwq3-m3j5-wv66X Refsource CONFIRM
- github.com/laravel/framework/pull/62447X Refsource MISC
- github.com/laravel/framework/pull/62448X Refsource MISC
- github.com/laravel/framework/releases/tag/v12.73.0X Refsource MISC
- github.com/laravel/framework/releases/tag/v13.43.0X Refsource MISC