Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach public GraphQL endpoint
-
DeliveryCraft eager-load query with parenthesized select argument
-
ExploitSQL injected into SELECT clause
-
ExecutionQuery builder emits SQL verbatim
-
PersistDatabase returns arbitrary rows
-
ImpactExfiltrate hashes and session tokens
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) the public GraphQL schema enabled and granting anonymous read access to at least one section or asset volume but NOT to user groups; and (2) at least one entry with an author, or one asset with a populated uploaderId, so an eager-loadable node (author/uploader) exists but is absent from the public schema. Per the advisory this is the ordinary least-privilege, default shape of a Craft headless install, which is why no authentication is needed. The key LIMITING factor: granting the schema user-group read access eliminates the exposure, because author/uploader are then published as real fields with fixed argument definitions and the injected 'select' argument is rejected as unknown; sites that do not expose a public GraphQL schema at all are unaffected. |
| Impact | This is a genuine high priority, not an inflated CVSS score. The signals are internally consistent: the input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC:H) describes a network-reachable, low-complexity, unauthenticated flaw with high confidentiality impact, and the GHSA advisory and VulnCheck report corroborate unauthenticated SQL injection yielding arbitrary database reads including password hashes and session/verification tokens. The vuln.today decision label is 'this_week' (not act_now/emergency). No EPSS score, no CISA KEV listing, and no confirmed working exploit code were provided, so active-exploitation and widespread-scanning signals are absent - there is no conflict to resolve, simply an absence of those feeds. The most important nuance is the precondition: the vulnerable configuration (a public GraphQL schema granting anonymous read to content but not user groups) is described by the advisory as the default shape of a Craft headless install, so the AC:L / PR:N rating is credible for a large share of real deployments rather than an edge case. Net: real priority driven by unauthenticated remote data theft against a common default configuration, tempered only by the lack of confirmed in-the-wild exploitation at analysis time. |
| Exploit ScenarioDerived | An unauthenticated attacker sends an anonymous GraphQL query to a Craft headless site whose public schema exposes entries or assets, hanging a crafted argument containing a parenthesized 'select' value on an eager-loadable node (e.g. author/uploader) that is absent from the public schema. The value is copied into EagerLoadPlan criteria and emitted verbatim into the SQL SELECT clause by Yii's query builder, letting the attacker read arbitrary tables - password hashes, email addresses, and session tokens - beneath the schema's access controls. No authentication, user interaction, or special tooling is required; no confirmed public exploit code was identified at analysis time, though two vendor/VulnCheck advisories describe the mechanism in detail. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
High-priority unauthenticated SQL injection in Craft CMS 4.x before 4.18.9 and 5.x before 5.11.2 lets remote attackers read arbitrary database contents, including password hashes and session/verification tokens, through GraphQL eager-loading criteria. The assessed CVSS:3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N, and the required public-schema shape is described as the ordinary least-privilege configuration for a headless Craft install; no public exploit code was identified at time of analysis and there is no KEV confirmation. Vendor-released patches are available in 4.18.9 and 5.11.2, with a schema-level workaround for sites that cannot upgrade immediately.
RemediationAI
Vendor-released patches are Craft CMS 4.18.9 for the 4.x branch and 5.11.2 for the 5.x branch; upgrade to the applicable fixed version and review the advisory at https://github.com/craftcms/cms/security/advisories/GHSA-mjj9-pjh4-r48g. For sites that cannot upgrade immediately, granting the public GraphQL schema user-group read access removes the exposure because author/uploader are then published as real fields with fixed argument definitions and the injected select argument is rejected as unknown, with the trade-off that user-group records become readable by anonymous GraphQL clients. Alternatively, disable the public GraphQL schema or remove anonymous read access to sections and asset volumes, recognizing that this may break headless frontend content delivery until the patch is applied.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Craft CMS is a PHP content management system built on the Yii framework, and its GraphQL API supports eager-loading of related elements. This is a CWE-89 SQL injection: arguments attached to an eager-loadable node that is absent from the active public schema are copied into EagerLoadPlan::$criteria and applied with Craft::configure() without passing through Craft's criteria cleansing. A select value containing a parenthesis is emitted verbatim into the SQL SELECT clause by Yii's query builder, so injected SQL expressions are evaluated by the database beneath the GraphQL schema layer. The issue reaches the same criteria path as GHSA-9c4j-cjw3-r3xx but is distinct from it: the earlier fix types EagerLoadPlan::$when as ?Closure and closes the callable sink, while this injection involves $plan->criteria and requires no nested with, callback, or system() call. The CPE data identifies craftcms:cms as the affected product, with the Composer package composer/craftcms/cms vulnerable in >= 4.0.0, < 4.18.9 and >= 5.0.0, < 5.11.2. Exploitation requires the public GraphQL schema to be enabled and to grant anonymous read access to at least one section or asset volume but not to user groups, plus at least one entry with an author or one asset with a populated uploaderId; granting user-group read access removes the exposure because author/uploader become real fields with fixed argument definitions and the injected select argument is rejected as unknown.
Know when Cms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable anonymous GraphQL request against a default headless schema (AV:N/AC:L/PR:N/UI:N); arbitrary read of hashes and tokens gives C:H, injected SELECT expressions a limited I:L, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-89, SQL injection in Craft CMS's GraphQL eager-loading path.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Craft CMS versions 4.x before 4.18.9 and 5.x before 5.11.2 contain a high-severity unauthenticated SQL injection that can expose sensitive database contents, including password hashes and session tokens. This affects any organization running a vulnerable version, particularly headless deployments using GraphQL, and could lead to credential compromise and unauthorized access. Leadership should prioritize patching due to the high confidentiality impact and the product's role in content delivery.
Apply vendor patch. If immediate patching is not feasible, implement the vendor-provided schema-level workaround for GraphQL eager-loading criteria.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Cayin CMS suffers from an authenticated OS semi-blind command injection vulnerability using default credentials. Rated c
Multiple integer underflows in the icmLut_allocate function in International Color Consortium (ICC) Format library (iccl
phpKF CMS 3.00 Beta allows unauthenticated PHP file upload by disguising it as a PNG, then renaming it for execution. Po
Deserialization of Untrusted Data in the Sitecore.Security.AntiCSRF (aka anti CSRF) module in Sitecore CMS 7.0 to 7.2 an
Unauthenticated SQL injection in Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 allows remote attackers to read a
Deserialization of Untrusted Data in the anti CSRF module in Sitecore through 9.1 allows an authenticated attacker to ex
Unauthenticated file disclosure in LavaLite CMS through 10.1.2 allows remote attackers to download private stored files
Authenticated remote code execution in Craft CMS versions 5.5.0 through 5.9.13 allows admin users to execute arbitrary P
SQL injection vulnerability in hava_post.php in Havalite CMS 1.1.0 and earlier allows remote attackers to execute arbitr
Unrestricted file upload vulnerability in hava_upload.php in Havalite CMS 1.1.0 and earlier allows remote attackers to e
Cross-site request forgery (CSRF) vulnerability in Ilch CMS allows remote attackers to hijack the authentication of admi
Multiple cross-site scripting (XSS) vulnerabilities in Havalite 1.0.4 and earlier allow remote attackers to inject arbit
EUVD-2026-118291
GHSA-6534-m2vq-3r2h
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB