CVE-2026-79991
Authenticated SQL Injection via nested eager-loading criteria
- State
- Published
- Severity
- 7.1 High
- Published
- Sep 2, 2026
- Updated
- Sep 2, 2026
- Reserved
- Aug 25, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.1 High | 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 | Hackrate |
Weaknesses
- CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection')
Affected Products
| Product | Versions |
|---|---|
cmscraftcms |
|
References
- https://www.hckrt.com/hacktivity/HCKRT-B5BSMMthird-party-advisorytechnical-descriptionmitigation
- https://github.com/craftcms/cms/releases/tag/5.10.13release-notes
- https://github.com/craftcms/cmsproduct
- https://github.com/craftcms/cms/security/advisories/GHSA-4mgp-5vf2-7c9mthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.