{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-79991", "assignerOrgId": "7004884b-51e2-48e8-b4a2-5ca29e80453e", "state": "PUBLISHED", "assignerShortName": "Hackrate", "dateReserved": "2026-08-25T16:39:03.171Z", "datePublished": "2026-09-02T14:25:15.221Z", "dateUpdated": "2026-09-02T17:55:14.034Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "7004884b-51e2-48e8-b4a2-5ca29e80453e", "shortName": "Hackrate", "dateUpdated": "2026-09-02T14:25:15.221Z" }, "title": "Authenticated SQL Injection via nested eager-loading criteria", "problemTypes": [ { "descriptions": [ { "lang": "en", "cweId": "CWE-89", "description": "CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection')", "type": "CWE" } ] } ], "affected": [ { "vendor": "craftcms", "product": "cms", "collectionURL": "https://packagist.org", "packageName": "craftcms/cms", "versions": [ { "status": "affected", "version": "5.0.0-RC1", "lessThan": "5.10.13", "versionType": "semver" } ], "defaultStatus": "unaffected" } ], "cpeApplicability": [ { "operator": "OR", "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.0.0-rc1", "versionEndExcluding": "5.10.13" } ] } ] } ], "descriptions": [ { "lang": "en", "value": "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.", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "Craft CMS GraphQL entry mutation resolvers (saveEntrydeleteEntry) 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.
" } ] } ], "references": [ { "url": "https://www.hckrt.com/hacktivity/HCKRT-B5BSMM", "tags": [ "third-party-advisory", "technical-description", "mitigation" ] }, { "url": "https://github.com/craftcms/cms/releases/tag/5.10.13", "tags": [ "release-notes" ] }, { "url": "https://github.com/craftcms/cms", "tags": [ "product" ] }, { "url": "https://github.com/craftcms/cms/security/advisories/GHSA-4mgp-5vf2-7c9m", "tags": [ "third-party-advisory" ] } ], "metrics": [ { "format": "CVSS", "scenarios": [ { "lang": "en", "value": "GENERAL" } ], "cvssV4_0": { "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "subConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "subIntegrityImpact": "NONE", "vulnAvailabilityImpact": "LOW", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED", "version": "4.0", "baseSeverity": "HIGH", "baseScore": 7.1, "vectorString": "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" } } ], "credits": [ { "lang": "en", "value": "@Uncle_cui233", "type": "reporter" }, { "lang": "en", "value": "Hackrate", "type": "coordinator" } ], "source": { "advisory": "GHSA-4mgp-5vf2-7c9m", "discovery": "UNKNOWN" }, "x_generator": { "engine": "Vulnogram 1.0.4" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-09-02T17:55:06.910643Z", "id": "CVE-2026-79991", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-09-02T17:55:14.034Z" } } ] } }