Description
Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 contains an SQL injection vulnerability in GraphQL eager-loading: arguments on eager-loadable nodes absent from the public schema are copied into EagerLoadPlan criteria without cleansing. Unauthenticated attackers can supply a parenthesized select argument to inject SQL expressions and read arbitrary database content, including password hashes and session tokens.
Published: 2026-11-06
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: Database Compromise
Action: Immediate Patch
AI Analysis

Impact

Craft CMS versions 4.0.0 through 4.18.8 and 5.0.0 through 5.11.1 allow unauthenticated attackers to inject arbitrary SQL via the GraphQL eager‑load feature. The vulnerability stems from arguments on eager‑loadable nodes that are absent from the public schema being copied into the EagerLoadPlan criteria without proper sanitization. As a result, an attacker can construct a parenthesized select argument to execute a crafted SQL expression and read any database table, including sensitive fields such as password hashes and session tokens, thereby compromising confidentiality.

Affected Systems

The affected product is Craft CMS, offered by craftcms. Vulnerable versions include 4.x releases prior to 4.18.9 and 5.x releases prior to 5.11.2. The specific CPE string cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* identifies the entire product line impacted.

Risk and Exploitability

The CVSS score of 8.8 classifies this as a high‑severity vulnerability. The EPSS score is not available, and it is not listed in CISA’s KEV catalog, suggesting that public exploitation evidence is limited. However, the attack vector is unauthenticated and web‑based, meaning any visitor to the site could potentially exploit the flaw without possessing credentials. Once exploited, an attacker can read arbitrary database content, which could lead to account compromise, data exfiltration, and further lateral movement within the organization.

Generated by OpenCVE AI on November 6, 2026 at 16:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Craft CMS to version 4.18.9 or later, or 5.11.2 or later if using the 5.x line. The vendor’s official advisory confirms the patch removes the unsanitized eager‑load input handling.
  • If an upgrade cannot be performed immediately, restrict access to the GraphQL endpoint to authorized users only or temporarily disable the eager‑load functionality to prevent the injection pathway.
  • Consider implementing a web application firewall rule that blocks suspicious SELECT payloads or applies strict input validation on GraphQL queries as an interim defensive measure.

Generated by OpenCVE AI on November 6, 2026 at 16:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Craftcms cms
Vendors & Products Craftcms cms

Fri, 06 Nov 2026 15:15:00 +0000

Type Values Removed Values Added
Description Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 contains an SQL injection vulnerability in GraphQL eager-loading: arguments on eager-loadable nodes absent from the public schema are copied into EagerLoadPlan criteria without cleansing. Unauthenticated attackers can supply a parenthesized select argument to inject SQL expressions and read arbitrary database content, including password hashes and session tokens.
Title Craft CMS 4.0.0 before 4.18.9 Unauthenticated SQL Injection via GraphQL Eager-Load Select
First Time appeared Craftcms
Craftcms craft Cms
Weaknesses CWE-89
CPEs cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
Vendors & Products Craftcms
Craftcms craft Cms
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'}

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-06T17:10:29.807Z

Reserved: 2026-11-06T00:44:37.658Z

Link: CVE-2026-123491

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-06T15:17:18.663

Modified: 2026-11-06T17:17:20.487

Link: CVE-2026-123491

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T17:00:09Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')