laravel/boost is vulnerable to Incorrect Authorization
71
High Risk
Affected versions of this package improperly enforce a read-only guard for SQL statements using Common Table Expressions (CTEs), allowing queries such as WITH x AS (SELECT 1) DELETE FROM users to bypass validation because the regex only checks for the presence of SELECT after WITH. An attacker could exploit this weakness by crafting a malicious CTE that includes a valid SELECT in the CTE body while executing a destructive statement (e.g., DELETE, UPDATE, or INSERT) afterward, effectively performing unauthorized write operations in contexts that are expected to permit only read-only queries.
You are affected if you are using a version that falls within the vulnerable range.
laravel/boost is vulnerable to Incorrect Authorization in versions 1.0.0 - 2.1.7.
Upgrade the laravel/boost library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant