CVE-2026-79991 Authenticated SQL Injection via nested eager-loading criteria
HighCVSS 7.1
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- PHP
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| craftcms cms(Packagist) | >= 5.0.0-RC1, < 5.10.13 | 5.10.13 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| craftcms cms(Packagist) | >= 5.0.0-RC1, < 5.10.13 | 5.10.13 |
References
- www.hckrt.com mitigation technical-description third-party-advisory
- github.com release-notes
- github.com product
- github.com third-party-advisory
- ENISA EUVD EUVD-2026-70049 third-party-advisory