CVE-2026-79991
published high CVSS 4.0 · 7.1Authenticated SQL Injection via nested eager-loading criteria
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | craftcms/cmscms · 5.0.0-RC1 to < 5.10.13 · Other versions: unaffected | Affected | Not stated | Hackrate |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Hackrate · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | 5.0.0-RC1 to < 5.10.13 (affected · semver)Default: unaffected | Hackrate · cna |
Weaknesses
1- CWE-89 CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection')
References
4Provider assertions
2Hackrate · cna
Authenticated SQL Injection via nested eager-loading criteria
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- af8b2977b1ce91c01bb79982822c48742a56f8445c628ea6fe10cddeaccfdae0
- Ingested
- 23 Sep 2026, 09:33:25 UTC
- Source record
- Official CVE record