CVE-2026-79991

Source
https://cve.org/CVERecord?id=CVE-2026-79991
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-79991.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-79991
Aliases
  • GHSA-4mgp-5vf2-7c9m
Published
2026-09-02T14:25:15.221Z
Modified
2026-09-04T03:47:30.912536179Z
Severity
  • 7.1 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Authenticated SQL Injection via nested eager-loading criteria
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/79xxx/CVE-2026-79991.json",
    "cna_assigner": "Hackrate",
    "cwe_ids": [
        "CWE-89"
    ]
}
References

Affected packages

Git / github.com/craftcms/cms

Affected ranges

Type
GIT
Repo
https://github.com/craftcms/cms
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "5.0.0-RC1"
        },
        {
            "fixed": "5.10.13"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-79991.json"