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

Published Sep 2, 2026
·
Updated

Craft CMS GraphQL entry mutation resolvers (saveEntry, deleteEntry) read siteIddirectly from$argumentswithout passing throughArgumentManagerprepareArguments(), which is the function that enforces site-scope filtering via arrayintersect 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.

Affected Software

1 affected component
Craft CMS

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update the GraphQL entry mutation resolvers (saveEntry, deleteEntry) to obtain site scope from arguments through ArgumentManager::prepareArguments() (the function that enforces site-scope filtering via array_intersect against the GraphQL schema’s allowed sites), instead of reading siteId directly from the $arguments.

    Craft CMS GraphQL (entry mutations: saveEntry, deleteEntry) siteId argument handling (bypass of ArgumentManager::prepareArguments) = Use ArgumentManager prepareArguments() for mutation arguments so site-scope filtering via array_intersect is enforced

Event History

Sep 2, 2026
CVE Published
via MITRE·02:19 PM
Data Sourced
via MITRE·02:19 PM
DescriptionWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What level of access does an attacker need?

The attacker needs a GraphQL token scoped to one site, such as Site A. They can then supply another site’s ID in mutation arguments to act on entries in that other site.

2

Are GraphQL queries subject to the same bypass?

No. The query path calls the argument-preparation function that enforces the schema’s allowed-site filtering, so queries for unauthorized sites return empty results.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203