GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-79991 (GCVE-0-2026-79991)

Vulnerability from cvelistv5 – Published: 2026-09-02 14:25 – Updated: 2026-09-02 17:55
VLAI
Title
Authenticated SQL Injection via nested eager-loading criteria
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-09-02 17:55 UTC
CWE
  • CWE-89 - Improper neutralization of special elements used in an SQL command ('SQL injection')
References
Impacted products
Vendor Product Version CPE status
craftcms cms Affected: 5.0.0-RC1 , < 5.10.13 (semver)
    cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-79991",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-02T17:55:06.910643Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-09-02T17:55:14.034Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "craftcms/cms",
          "product": "cms",
          "vendor": "craftcms",
          "versions": [
            {
              "lessThan": "5.10.13",
              "status": "affected",
              "version": "5.0.0-RC1",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.13",
                  "versionStartIncluding": "5.0.0-rc1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "OR"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "@Uncle_cui233"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Hackrate"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Craft CMS GraphQL entry mutation resolvers (\u003ccode\u003esaveEntry\u003c/code\u003e,\u0026nbsp;\u003ccode\u003edeleteEntry) read\u0026nbsp;\u003c/code\u003esiteId\u003ccode\u003edirectly from\u003c/code\u003e$arguments\u003ccode\u003ewithout passing through\u003c/code\u003eArgumentManagerprepareArguments()\u003ccode\u003e, which is the function that enforces site-scope filtering via\u0026nbsp;\u003c/code\u003earray_intersect\u003ccode\u003e\u0026nbsp;against the GraphQL schema\u2019s allowed sites. The query path (\u003c/code\u003eElementResolverprepareElementQuery\u003ccode\u003e) correctly calls\u0026nbsp;\u003c/code\u003eprepareArguments()`, so queries to unauthorized sites return empty. But mutations bypass this entirely \u2014 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.\u003cbr\u003e"
            }
          ],
          "value": "Craft CMS GraphQL entry mutation resolvers (saveEntry,\u00a0deleteEntry) read\u00a0siteIddirectly from$argumentswithout passing throughArgumentManagerprepareArguments(), which is the function that enforces site-scope filtering via\u00a0array_intersect\u00a0against the GraphQL schema\u2019s allowed sites. The query path (ElementResolverprepareElementQuery) correctly calls\u00a0prepareArguments()`, so queries to unauthorized sites return empty. But mutations bypass this entirely \u2014 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."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "LOW",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-89",
              "description": "CWE-89 Improper neutralization of special elements used in an SQL command (\u0027SQL injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-02T14:25:15.221Z",
        "orgId": "7004884b-51e2-48e8-b4a2-5ca29e80453e",
        "shortName": "Hackrate"
      },
      "references": [
        {
          "tags": [
            "third-party-advisory",
            "technical-description",
            "mitigation"
          ],
          "url": "https://www.hckrt.com/hacktivity/HCKRT-B5BSMM"
        },
        {
          "tags": [
            "release-notes"
          ],
          "url": "https://github.com/craftcms/cms/releases/tag/5.10.13"
        },
        {
          "tags": [
            "product"
          ],
          "url": "https://github.com/craftcms/cms"
        },
        {
          "tags": [
            "third-party-advisory"
          ],
          "url": "https://github.com/craftcms/cms/security/advisories/GHSA-4mgp-5vf2-7c9m"
        }
      ],
      "source": {
        "advisory": "GHSA-4mgp-5vf2-7c9m",
        "discovery": "UNKNOWN"
      },
      "title": "Authenticated SQL Injection via nested eager-loading criteria",
      "x_generator": {
        "engine": "Vulnogram 1.0.4"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "7004884b-51e2-48e8-b4a2-5ca29e80453e",
    "assignerShortName": "Hackrate",
    "cveId": "CVE-2026-79991",
    "datePublished": "2026-09-02T14:25:15.221Z",
    "dateReserved": "2026-08-25T16:39:03.171Z",
    "dateUpdated": "2026-09-02T17:55:14.034Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-79991",
      "date": "2026-09-20",
      "epss": "0.00292",
      "percentile": "0.22019"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://packagist.org",
                "defaultStatus": "unaffected",
                "packageName": "craftcms/cms",
                "product": "cms",
                "vendor": "craftcms",
                "versions": [
                  {
                    "lessThan": "5.10.13",
                    "status": "affected",
                    "version": "5.0.0-RC1",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "7004884b-51e2-48e8-b4a2-5ca29e80453e"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Craft CMS GraphQL entry mutation resolvers (saveEntry,\u00a0deleteEntry) read\u00a0siteIddirectly from$argumentswithout passing throughArgumentManagerprepareArguments(), which is the function that enforces site-scope filtering via\u00a0array_intersect\u00a0against the GraphQL schema\u2019s allowed sites. The query path (ElementResolverprepareElementQuery) correctly calls\u00a0prepareArguments()`, so queries to unauthorized sites return empty. But mutations bypass this entirely \u2014 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."
          }
        ],
        "id": "CVE-2026-79991",
        "lastModified": "2026-09-03T17:45:20.840",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "LOW",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "LOW",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "7004884b-51e2-48e8-b4a2-5ca29e80453e",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-79991",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-09-02T17:55:06.910643Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-09-02T15:17:42.673",
        "references": [
          {
            "source": "7004884b-51e2-48e8-b4a2-5ca29e80453e",
            "url": "https://github.com/craftcms/cms"
          },
          {
            "source": "7004884b-51e2-48e8-b4a2-5ca29e80453e",
            "url": "https://github.com/craftcms/cms/releases/tag/5.10.13"
          },
          {
            "source": "7004884b-51e2-48e8-b4a2-5ca29e80453e",
            "url": "https://github.com/craftcms/cms/security/advisories/GHSA-4mgp-5vf2-7c9m"
          },
          {
            "source": "7004884b-51e2-48e8-b4a2-5ca29e80453e",
            "url": "https://www.hckrt.com/hacktivity/HCKRT-B5BSMM"
          }
        ],
        "sourceIdentifier": "7004884b-51e2-48e8-b4a2-5ca29e80453e",
        "vulnStatus": "Deferred",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-89"
              }
            ],
            "source": "7004884b-51e2-48e8-b4a2-5ca29e80453e",
            "type": "Secondary"
          }
        ]
      }
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-79991",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-09-02T17:55:06.910643Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-09-02T17:55:10.359Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://packagist.org",
              "defaultStatus": "unaffected",
              "packageName": "craftcms/cms",
              "product": "cms",
              "vendor": "craftcms",
              "versions": [
                {
                  "lessThan": "5.10.13",
                  "status": "affected",
                  "version": "5.0.0-RC1",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:craftcms:cms:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "5.10.13",
                      "versionStartIncluding": "5.0.0-rc1",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "OR"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "@Uncle_cui233"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Hackrate"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "Craft CMS GraphQL entry mutation resolvers (\u003ccode\u003esaveEntry\u003c/code\u003e,\u0026nbsp;\u003ccode\u003edeleteEntry) read\u0026nbsp;\u003c/code\u003esiteId\u003ccode\u003edirectly from\u003c/code\u003e$arguments\u003ccode\u003ewithout passing through\u003c/code\u003eArgumentManagerprepareArguments()\u003ccode\u003e, which is the function that enforces site-scope filtering via\u0026nbsp;\u003c/code\u003earray_intersect\u003ccode\u003e\u0026nbsp;against the GraphQL schema\u2019s allowed sites. The query path (\u003c/code\u003eElementResolverprepareElementQuery\u003ccode\u003e) correctly calls\u0026nbsp;\u003c/code\u003eprepareArguments()`, so queries to unauthorized sites return empty. But mutations bypass this entirely \u2014 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.\u003cbr\u003e"
                }
              ],
              "value": "Craft CMS GraphQL entry mutation resolvers (saveEntry,\u00a0deleteEntry) read\u00a0siteIddirectly from$argumentswithout passing throughArgumentManagerprepareArguments(), which is the function that enforces site-scope filtering via\u00a0array_intersect\u00a0against the GraphQL schema\u2019s allowed sites. The query path (ElementResolverprepareElementQuery) correctly calls\u00a0prepareArguments()`, so queries to unauthorized sites return empty. But mutations bypass this entirely \u2014 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."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "exploitMaturity": "NOT_DEFINED",
                "privilegesRequired": "LOW",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "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",
                "version": "4.0",
                "vulnAvailabilityImpact": "LOW",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-89",
                  "description": "CWE-89 Improper neutralization of special elements used in an SQL command (\u0027SQL injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-09-02T14:25:15.221Z",
            "orgId": "7004884b-51e2-48e8-b4a2-5ca29e80453e",
            "shortName": "Hackrate"
          },
          "references": [
            {
              "tags": [
                "third-party-advisory",
                "technical-description",
                "mitigation"
              ],
              "url": "https://www.hckrt.com/hacktivity/HCKRT-B5BSMM"
            },
            {
              "tags": [
                "release-notes"
              ],
              "url": "https://github.com/craftcms/cms/releases/tag/5.10.13"
            },
            {
              "tags": [
                "product"
              ],
              "url": "https://github.com/craftcms/cms"
            },
            {
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://github.com/craftcms/cms/security/advisories/GHSA-4mgp-5vf2-7c9m"
            }
          ],
          "source": {
            "advisory": "GHSA-4mgp-5vf2-7c9m",
            "discovery": "UNKNOWN"
          },
          "title": "Authenticated SQL Injection via nested eager-loading criteria",
          "x_generator": {
            "engine": "Vulnogram 1.0.4"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "7004884b-51e2-48e8-b4a2-5ca29e80453e",
        "assignerShortName": "Hackrate",
        "cveId": "CVE-2026-79991",
        "datePublished": "2026-09-02T14:25:15.221Z",
        "dateReserved": "2026-08-25T16:39:03.171Z",
        "dateUpdated": "2026-09-02T17:55:14.034Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…