GQL entry mutation siteId bypasses schema site scope
Report #HCKRT-XEQKMX in Craft CMS Vulnerability Disclosure Program
Disclosed Report
StatusClosed
TargetTier 1
Severity
Details
- Program
- Craft CMS Vulnerability Disclosure Program
- Target
- craftcms/cms
- Creation Date
- 7/4/2026 8:24:22 AM
- Severity
- High
- CVSS Score
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVE Number
- CVE-2026-79990
- Affected versions
- >= 5.0.0-RC1, < 5.10.11
- Visibility
- Disclosed
- Disclosed at
- 9/1/2026 9:48:10 PM
- Author
- @ddme
- Status
- Resolved (Closed)
- Vulnerability Type (CAPEC™)
- Weakness (CWE)
- (CWE-639) Authorization Bypass Through User-Controlled Key
Summary
GQL entry mutation siteId bypasses schema site scope, enabling cross-site content read/write/delete.
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.
Impact
- Confidentiality:
saveEntryloads the element by siteId — attacker can read content from unauthorized sites. - Integrity:
saveEntrywrites to the specified site’selements_sitesrecord; propagation spreads changes to all sites. - Availability:
deleteEntrylocates the element bysiteId, then callsdeleteElementByIdwithoutsiteId, deleting the element across all sites.
Timeline
Hackrate
Our platform helps companies to identify software vulnerabilities in a cost-efficient way. It provides a secure and centralized view of ethical hacking projects for your company.
US Patent Applied for HackGATE #63/645,845
Products
From the Blog
-
Hackrate Ranked 1st in Hungary and 22nd Globally at Hack The Box’s Global Cyber Skills Benchmark 2026
May 29 • 13 min read
-
Press release: Hackrate becomes Hungary’s first CVE Numbering Authority
Jan 13 • 5 min read ★
-
Let 2026 be the year bug bounty becomes part of how you build and operate
Jan 05 • 4 min read