CVE-2026-79990 PUBLISHED

GQL entry mutation `siteId` bypasses schema site scope, enabling cross-site content read/write/delete

Assigner: Hackrate
Reserved: 25.08.2026 Published: 02.09.2026 Updated: 02.09.2026

Craft CMS GraphQL entry mutation resolvers (saveEntry, deleteEntry) read siteIddirectly from$argumentswithout passing throughArgumentManagerprepareArguments(), which is the function that enforces site-scope filtering via array_intersect against the GraphQL schema’s allowed sites. The query path (ElementResolverprepareElementQuery) correctly calls prepareArguments()`, so queries to unauthorized sites return empty. But mutations bypass this entirely — an attacker with a token scoped to Site A can create, modify, or delete entries in Site B by passing siteId in the mutations argument.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor craftcms
Product cms
Versions Default: unaffected
  • affected from 5.0.0-RC1 to 5.10.11 (excl.)

Credits

  • @ddme reporter
  • Hackrate coordinator

References

Problem Types

  • CWE-639 Authorization bypass through User-Controlled key CWE