Skip to main content

Craft CMS CVE-2026-123491

| EUVDEUVD-2026-118291 HIGH
SQL Injection (CWE-89)
2026-11-06 VulnCheck GHSA-6534-m2vq-3r2h
8.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach public GraphQL endpoint
  2. Delivery
    Craft eager-load query with parenthesized select argument
  3. Exploit
    SQL injected into SELECT clause
  4. Execution
    Query builder emits SQL verbatim
  5. Persist
    Database returns arbitrary rows
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

CMS 4.0.0 <4.18.9
CMS 5.0.0 <5.11.2

Affected Packages

euvd cms fix: 4.18.9, 5.11.2

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

Vendor (VulnCheck) PRIMARY 8.8 HIGH
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
vuln.today AI 8.2 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 06, 2026 - 16:02 EUVD
CVE Published
Nov 06, 2026 - 15:00 cve.org
HIGH 8.8

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible, implement the vendor-provided schema-level workaround for GraphQL eager-loading criteria.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
popular commercial CMS, common in headless builds but far below WordPress scale
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Cms

View all
CVE-2020-7357 CRITICAL POC
9.9 Aug 06

Cayin CMS suffers from an authenticated OS semi-blind command injection vulnerability using default credentials. Rated c

CVE-2012-4405 MEDIUM
6.8 Sep 18

Multiple integer underflows in the icmLut_allocate function in International Color Consortium (ICC) Format library (iccl

CVE-2021-47753 CRITICAL POC
9.8 Jan 15

phpKF CMS 3.00 Beta allows unauthenticated PHP file upload by disguising it as a PNG, then renaming it for execution. Po

CVE-2019-9874 CRITICAL POC
9.8 May 31

Deserialization of Untrusted Data in the Sitecore.Security.AntiCSRF (aka anti CSRF) module in Sitecore CMS 7.0 to 7.2 an

CVE-2026-123488 CRITICAL POC
9.3 Nov 06

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

CVE-2019-9875 HIGH POC
8.8 May 31

Deserialization of Untrusted Data in the anti CSRF module in Sitecore through 9.1 allows an authenticated attacker to ex

CVE-2026-113358 HIGH POC
8.7 Oct 20

Unauthenticated file disclosure in LavaLite CMS through 10.1.2 allows remote attackers to download private stored files

CVE-2026-56382 HIGH POC
8.6 Jun 21

Authenticated remote code execution in Craft CMS versions 5.5.0 through 5.9.13 allows admin users to execute arbitrary P

CVE-2012-5894 HIGH POC
7.5 Nov 17

SQL injection vulnerability in hava_post.php in Havalite CMS 1.1.0 and earlier allows remote attackers to execute arbitr

CVE-2012-5893 MEDIUM POC
6.8 Nov 17

Unrestricted file upload vulnerability in hava_upload.php in Havalite CMS 1.1.0 and earlier allows remote attackers to e

CVE-2015-2083 MEDIUM POC
6.8 Feb 25

Cross-site request forgery (CSRF) vulnerability in Ilch CMS allows remote attackers to hijack the authentication of admi

CVE-2012-5919 MEDIUM POC
4.3 Nov 19

Multiple cross-site scripting (XSS) vulnerabilities in Havalite 1.0.4 and earlier allow remote attackers to inject arbit

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy