{"id":"CVE-2026-79991","state":"PUBLISHED","title":"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.","publishedAt":"2026-09-02T14:25:15.221Z","updatedAt":"2026-09-02T17:55:14.034Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N","source":"Hackrate"},"assigner":"Hackrate","products":["craftcms cms"],"affected":[{"vendor":"craftcms","product":"cms","packageName":"craftcms/cms","defaultStatus":"unaffected","versions":[{"version":"5.0.0-RC1","status":"affected","lessThan":"5.10.13","versionType":"semver"}],"collectionURL":"https://packagist.org"}],"references":["https://www.hckrt.com/hacktivity/HCKRT-B5BSMM","https://github.com/craftcms/cms/releases/tag/5.10.13","https://github.com/craftcms/cms","https://github.com/craftcms/cms/security/advisories/GHSA-4mgp-5vf2-7c9m"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/79xxx/CVE-2026-79991.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-79991","state":"PUBLISHED","datePublished":"2026-09-02T14:25:15.221Z","dateUpdated":"2026-09-02T17:55:14.034Z","assignerShortName":"Hackrate","assignerOrgId":"7004884b-51e2-48e8-b4a2-5ca29e80453e","dateReserved":"2026-08-25T16:39:03.171Z"},"containers":{"cna":{"title":"Authenticated SQL Injection via nested eager-loading criteria","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"craftcms","product":"cms","packageName":"craftcms/cms","defaultStatus":"unaffected","versions":[{"version":"5.0.0-RC1","status":"affected","lessThan":"5.10.13","versionType":"semver"}],"collectionURL":"https://packagist.org"}],"references":[{"url":"https://www.hckrt.com/hacktivity/HCKRT-B5BSMM","tags":["third-party-advisory","technical-description","mitigation"]},{"url":"https://github.com/craftcms/cms/releases/tag/5.10.13","tags":["release-notes"]},{"url":"https://github.com/craftcms/cms","tags":["product"]},{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-4mgp-5vf2-7c9m","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.1,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"Hackrate","orgId":"7004884b-51e2-48e8-b4a2-5ca29e80453e","dateUpdated":"2026-09-02T14:25:15.221Z"},"cpeApplicability":[{"operator":"OR","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0-rc1","versionEndExcluding":"5.10.13"}]}]}],"credits":[{"lang":"en","value":"@Uncle_cui233","type":"reporter"},{"lang":"en","value":"Hackrate","type":"coordinator"}],"source":{"advisory":"GHSA-4mgp-5vf2-7c9m","discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.4"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-02T17:55:06.910643Z","id":"CVE-2026-79991","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-02T17:55:14.034Z"}}]}}}