{"id":"CVE-2026-79991","aliases":["CVE-2026-79991"],"related":[],"kind":"vulnerability","state":"published","title":"Authenticated SQL Injection via nested eager-loading criteria","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-02T14:25:15.221Z","modified":"2026-09-03T17:45:20.840Z","severity":{"scorer":"Hackrate","scheme":"CVSS: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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Hackrate","scheme":"CVSS: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","score":7.1,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"5.0.0-RC1","fixed":"5.10.13","status":"affected"}],"vendor":"craftcms","product":"cms","package":"craftcms/cms","source":"cvelist"}],"references":[{"url":"https://www.hckrt.com/hacktivity/HCKRT-B5BSMM","tags":["mitigation","technical-description","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/craftcms/cms/releases/tag/5.10.13","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/craftcms/cms","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-4mgp-5vf2-7c9m","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["@Uncle_cui233","Hackrate"],"assigner":"Hackrate","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-02T17:55:06.910Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-79991","url":"https://www.cve.org/CVERecord?id=CVE-2026-79991","licence":"CVE Terms of Use","modified":"2026-09-02T17:55:14.034Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-79991","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-79991","licence":"Public domain","modified":"2026-09-03T17:45:20.840Z"}],"updatedAt":"2026-11-25T22:59:36.099Z","epss":{"score":0.00303,"percentile":0.24846,"date":"2026-12-01T12:00:22.000Z"}}