SQL injection in Craft CMS - #VU159595
Published: November 6, 2026
Vulnerability details
The vulnerability allows an unauthenticated attacker to read arbitrary Craft CMS database data, including password hashes and session tokens.
The vulnerability exists due to unsanitized GraphQL eager-load criteria allowing a crafted select argument to inject SQL expressions. An unauthenticated attacker can exploit a public schema permitting anonymous section or asset-volume reads but no user-group reads by querying an authored entry or an asset with a populated uploader to retrieve data beyond the schema’s scope.