Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-142649
Published:December 02, 2026
Updated:December 03, 2026
Laravel is a web application framework. Prior to 12.67.0 and 13.26.0, The in validation rule (and Rule::in, and not_in via the same code) compares the scalar input to the allowlist with a non-strict in_array(). PHP 8 then compares numeric strings numerically, so many values that are not literally in the list pass validation , including whitespace-padded, leading-zero, signed, and scientific-notation forms, and an embedded newline. The value returned by validated() / valid() is the raw, un-canonicalized input, so the attacker-controlled bytes flow through to the application even though the rule was supposed to constrain them to a fixed set. The array branch of the same method already compares as strings (array_diff), so this is an internal inconsistency, not intended behavior. Any allowlist of numeric values , feature flags (in:0,1), status codes, role/tenant/enum IDs stored as integers may be bypassed with an equivalent-but-not-identical representation. This issue is fixed in versions 12.67.0 and 13.26.0.
Affected Packages
https://github.com/laravel/framework.git (GITHUB):
Affected version(s) >=v4.0.0-BETA2 <v12.67.0 || >=v5.0.0 <v12.67.0 || >=v6.0.0 <v12.67.0 || >=v7.0.0 <v12.67.0 || >=v8.0.0 <v12.67.0 || >=v9.0.0 <v12.67.0 || >=v9.0.0-beta.1 <v12.67.0 || >=v10.0.0 <v12.67.0 || >=v11.0.0 <v12.67.0 || >=v12.0.0 <v12.67.0
Fix Suggestion:
Update to version v12.67.0
https://github.com/laravel/framework.git (GITHUB):
Affected version(s) >=v13.0.0 <v13.26.0
Fix Suggestion:
Update to version v13.26.0
illuminate/validation (PHP):
Affected version(s) >=v13.0.0 <v13.26.0
Fix Suggestion:
Update to version v13.26.0
laravel/framework (PHP):
Affected version(s) >=v13.0.0 <v13.26.0
Fix Suggestion:
Update to version v13.26.0
laravel/framework (PHP):
Affected version(s) >=v10.0.0 <v12.67.0 || >=v4.0.0-BETA2 <v12.67.0 || >=v11.0.0 <v12.67.0 || >=v6.0.0 <v12.67.0 || >=v9.0.0-beta.1 <v12.67.0 || >=v8.0.0 <v12.67.0 || >=v5.0.0 <v12.67.0 || >=v9.0.0 <v12.67.0 || >=v7.0.0 <v12.67.0 || >=v12.0.0 <v12.67.0
Fix Suggestion:
Update to version v12.67.0
illuminate/validation (PHP):
Affected version(s) >=v4.0.0-BETA2 <v12.67.0 || >=v10.0.0 <v12.67.0 || >=v9.0.0 <v12.67.0 || >=v9.0.0-beta.1 <v12.67.0 || >=v5.0.0 <v12.67.0 || >=v8.0.0 <v12.67.0 || >=v7.0.0 <v12.67.0 || >=v11.0.0 <v12.67.0 || >=v6.0.0 <v12.67.0 || >=v12.0.0 <v12.67.0
Fix Suggestion:
Update to version v12.67.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
NONE
Vulnerable System Integrity
LOW
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
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Incorrect Comparison
EPSS
Base Score:
0.46