Skip to main content
Vulnerability Database/CVE-2026-112776

CVE-2026-112776: Craft CMS Authorization Bypass Vulnerability

CVE-2026-112776 is an authorization bypass flaw in Craft CMS that lets attackers with site-scoped GraphQL tokens manipulate content across multiple sites. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-112776 Overview

Craft CMS versions 5.0.0 through 5.10.x contain an authorization bypass vulnerability in the GraphQL mutation layer. Site-scoped GraphQL tokens can modify content belonging to other sites because the requireAllowedSite() check is not enforced on mutations. An attacker holding a token scoped to site A can create entries in site B by supplying an arbitrary siteId. The same flaw permits deletion of entries, categories, tags, and assets shared across sites in a multi-site Craft installation. The issue is tracked under CWE-863: Incorrect Authorization and is fixed in Craft CMS 5.11.0.

Critical Impact

A low-privilege, site-scoped GraphQL token becomes a cross-tenant write and delete primitive against every site in the Craft CMS installation.

Affected Products

  • Craft CMS 5.0.0 through 5.10.x
  • Multi-site Craft installations exposing the GraphQL API with site-scoped tokens
  • Shared content objects (entries, categories, tags, assets) referenced across sites

Discovery Timeline

  • 2026-10-19 - CVE-2026-112776 published to NVD
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-112776

Vulnerability Analysis

Craft CMS supports multi-site deployments where a single installation serves distinct sites, each with its own content scope. GraphQL tokens can be bound to a specific site, which should restrict both reads and writes to that site's content. The requireAllowedSite() helper exists to enforce this boundary.

The helper is invoked on query paths but is missing from GraphQL mutation resolvers. As a result, a mutation request authenticated with a token scoped to one site accepts an attacker-supplied siteId for a different site and executes the operation against it. The flaw also exposes shared content objects to deletion, meaning a mutation targeting a shared entry, category, tag, or asset removes it globally.

Root Cause

The root cause is inconsistent enforcement of the authorization check. Site-scope validation was applied to query-time logic but not to the create, update, and delete mutation handlers. This is a classic broken access control pattern where authentication succeeds, the token is accepted, and only the action-specific authorization step is skipped.

Attack Vector

Exploitation requires only a valid site-scoped GraphQL token and network access to the /actions/graphql/api endpoint. The attacker issues a standard GraphQL mutation such as createEntry or deleteEntry and sets the siteId argument to the target site identifier. No user interaction is required. Because Craft shares some content objects across sites, delete mutations can affect data visible on every site, enabling targeted content destruction.

Technical write-ups are available in the Craft CMS GitHub Security Advisory GHSA-7rr3-4jcm-x526 and the VulnCheck advisory on the GraphQL site-scope bypass.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-112776

Indicators of Compromise

  • GraphQL mutation requests to /actions/graphql/api where the siteId argument does not match the site scope recorded for the authenticating token.
  • Unexpected createEntry, updateEntry, deleteEntry, deleteCategory, deleteTag, or deleteAsset operations originating from low-privilege integrations.
  • Spikes in entry deletion events in Craft audit logs attributed to API tokens rather than editor sessions.

Detection Strategies

  • Parse web server access logs for POST requests to the GraphQL endpoint and correlate the Authorization bearer token identifier with the siteId field inside the request body.
  • Enable Craft CMS audit logging and alert on mutation activity performed by tokens that have never previously written to the referenced site.
  • Compare content inventories against known-good snapshots to identify entries created or removed outside normal editorial workflows.

Monitoring Recommendations

  • Forward Craft application logs and reverse-proxy access logs to a centralized analytics platform for cross-site correlation.
  • Build a baseline of expected GraphQL operations per token and alert on first-seen mutation types or first-seen siteId values per token.
  • Monitor for bulk deletion patterns against shared asset volumes, which indicate exploitation of the shared-object delete primitive.

How to Mitigate CVE-2026-112776

Immediate Actions Required

  • Upgrade all Craft CMS installations in the 5.x branch to version 5.11.0 or later.
  • Rotate all existing GraphQL tokens after upgrade to invalidate any credentials that may have been abused.
  • Audit entries, categories, tags, and assets created or deleted since 2026-10-19 and restore from backup where tampering is identified.

Patch Information

Craft CMS 5.11.0 enforces requireAllowedSite() on mutation resolvers so that site-scoped tokens cannot operate on sites outside their declared scope. Refer to the Craft CMS GitHub Security Advisory GHSA-7rr3-4jcm-x526 for the authoritative patch notes and commit references.

Workarounds

  • Disable the public GraphQL API until the upgrade to 5.11.0 is complete.
  • Restrict access to /actions/graphql/api at the reverse proxy or WAF layer so that only trusted integration source addresses can reach it.
  • Remove or narrow permissions on site-scoped GraphQL schemas so that mutation permissions are not granted to tokens that only require read access.
bash
# Example nginx rule limiting the Craft GraphQL endpoint to a trusted CIDR
location /actions/graphql/api {
    allow 203.0.113.0/24;
    deny all;
    proxy_pass http://craft_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.