# CVE-2026-79991: Authenticated SQL Injection via nested eager-loading criteria

- Severity: High 7.1 (CVSS:4.0, scored by Hackrate) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-09-02T14:25:15.221Z
- Modified: 2026-09-03T17:45:20.840Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- craftcms/cms: from 5.0.0-RC1 before 5.10.13

## References

- <https://www.hckrt.com/hacktivity/HCKRT-B5BSMM> (mitigation, technical-description, third-party-advisory)
- <https://github.com/craftcms/cms/releases/tag/5.10.13> (release-notes)
- <https://github.com/craftcms/cms> (product)
- <https://github.com/craftcms/cms/security/advisories/GHSA-4mgp-5vf2-7c9m> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-79991](https://www.cve.org/CVERecord?id=CVE-2026-79991), CVE Terms of Use, modified 2026-09-02
- NVD: [CVE-2026-79991](https://nvd.nist.gov/vuln/detail/CVE-2026-79991), Public domain, modified 2026-09-03

---

Page: https://cve.day/CVE-2026-79991 · Whole record: https://cve.day/CVE-2026-79991.json · Rebuilt by cve.day 2026-11-25T22:59:36.099Z
