CVE-2026-79991
Authenticated SQL Injection via nested eager-loading criteria
Description
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.
INFO
Published Date :
Sept. 2, 2026, 3:17 p.m.
Last Modified :
Sept. 2, 2026, 3:17 p.m.
Remotely Exploit :
Yes !
Source :
7004884b-51e2-48e8-b4a2-5ca29e80453e
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | HIGH | 7004884b-51e2-48e8-b4a2-5ca29e80453e | ||||
| CVSS 4.0 | HIGH | 7004884b-51e2-48e8-b4a2-5ca29e80453e |
Solution
- Validate site ID against allowed sites in mutation resolvers.
- Pass mutation arguments through ArgumentManager prepareArguments().
- Ensure all entry mutations enforce site access controls.
- Update Craft CMS to the latest version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-79991.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-79991 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-79991
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-79991 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-79991 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 7004884b-51e2-48e8-b4a2-5ca29e80453e
Sep. 02, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-89 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/79xxx/CVE-2026-79991.json">CVE-2026-79991</a> Added Reference https://github.com/craftcms/cms Added Reference https://github.com/craftcms/cms/releases/tag/5.10.13 Added Reference https://github.com/craftcms/cms/security/advisories/GHSA-4mgp-5vf2-7c9m Added Reference https://www.hckrt.com/hacktivity/HCKRT-B5BSMM