Authenticated SQL Injection via nested eager-loading criteria
CVE-2026-79991Published 2 Sep 2026, 14:25 UTC
Real-world risk
4.1/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.1
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from Hackrate)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| cmsCommon | >= 5.0.0-RC1, < 5.10.13 | 5.10.13 |
What to do
Update to a fixed version: 5.10.13.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 25), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.6 × threat 0.854.080
- Rounded to one decimal between 0.1 and 104.1
Exploitation and evidence timeline
- 2 Sep 2026 Published
- 3 Dec 2026 Risk 4.1 (cvss fallback)
Weakness
CWE-89
References
- https://www.hckrt.com/hacktivity/HCKRT-B5BSMMmitigation, technical-description, third-party-advisory
- 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
- CVE-2026-79991 on CVE.org