{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142649","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-12-02T22:43:22.233Z","datePublished":"2026-12-02T23:05:11.888Z","dateUpdated":"2026-12-03T16:09:50.253Z"},"containers":{"cna":{"title":"Laravel: `in` / `Rule::in` validation rule bypass via loose comparison","problemTypes":[{"descriptions":[{"cweId":"CWE-697","lang":"en","description":"CWE-697: Incorrect Comparison","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/laravel/framework/security/advisories/GHSA-h2hg-mfj4-rg7q","tags":["x_refsource_CONFIRM"],"url":"https://github.com/laravel/framework/security/advisories/GHSA-h2hg-mfj4-rg7q"},{"name":"https://github.com/laravel/framework/pull/61146","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/pull/61146"},{"name":"https://github.com/laravel/framework/commit/0db83d4177675d9290bee91f33f90b2b5828e56e","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/commit/0db83d4177675d9290bee91f33f90b2b5828e56e"},{"name":"https://github.com/laravel/framework/releases/tag/v12.67.0","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/releases/tag/v12.67.0"},{"name":"https://github.com/laravel/framework/releases/tag/v13.26.0","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/releases/tag/v13.26.0"}],"affected":[{"vendor":"laravel","product":"framework","versions":[{"version":"< 12.67.0","status":"affected"},{"version":">= 13.0.0, < 13.26.0","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-12-02T23:05:11.888Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-h2hg-mfj4-rg7q","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-12-03T15:15:46.571564Z","id":"CVE-2026-142649","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-12-03T16:09:50.253Z"}}]}}