CVE-2026-79991
JSON

7.1high

Authenticated SQL Injection via nested eager-loading criteria

Severity
7.1high CVSS:4.0 by Hackrate
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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.

Affected

Product or packageVersionsReported by
craftcms/cmsfrom 5.0.0-RC1 before 5.10.13CVE List

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-79991 changed 2026-09-02CVE Terms of Use
NVDCVE-2026-79991 changed 2026-09-03Public domain