← 취약점·업데이트

보통취약점 권고PHPLaravel

Laravel: `in` / `Rule::in` validation rule bypass via loose comparison

영향

패키지영향받는 버전수정 버전
composer:laravel/framework< 12.67.012.67.0
composer:laravel/framework>= 13.0.0, < 13.26.013.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 a…

GitHub Advisory Database에서 읽기

2026. 12. 04. 오전 03:54, GitHub Advisory Database에서 "Laravel: `in` / `Rule::in` validation rule bypass via loose comparison"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "보통"(medium)입니다. 관련 기술: PHP, Laravel. CVE: CVE-2026-142649.