{"id":"ghsa-ghsa-h2hg-mfj4-rg7q","seq":13099078,"kind":"advisory","title":"Laravel: `in` / `Rule::in` validation rule bypass via loose comparison","url":"https://github.com/advisories/GHSA-h2hg-mfj4-rg7q","permalink":"https://vulnpulse.app/items/ghsa-ghsa-h2hg-mfj4-rg7q","summary":"影響: composer:laravel/framework < 12.67.0 → 12.67.0, composer:laravel/framework >= 13.0.0, < 13.26.0 → 13.26.0\nThe 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 a…","severity":"medium","cvss":null,"techs":["php","laravel"],"cves":["CVE-2026-142649"],"tags":["GHSA-h2hg-mfj4-rg7q","laravel/framework","laravel/framework"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-03T18:54:45.000Z","fetched_at":"2026-12-05T02:20:50.705Z"}