{"id":"ghsa-ghsa-wwq3-m3j5-wv66","seq":13099079,"kind":"advisory","title":"Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB","url":"https://github.com/advisories/GHSA-wwq3-m3j5-wv66","permalink":"https://vulnpulse.app/items/ghsa-ghsa-wwq3-m3j5-wv66","summary":"影響: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 12.73.0\nThe 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 SQLit…","severity":"medium","cvss":null,"techs":["php","laravel","mysql","postgresql"],"cves":["CVE-2026-142643"],"tags":["GHSA-wwq3-m3j5-wv66","laravel/framework","laravel/framework"],"source":{"id":"ghsa","name":"GitHub Advisory Database"},"published_at":"2026-12-03T18:54:21.000Z","fetched_at":"2026-12-05T02:20:50.705Z"}