Skip to main content

Craft CMS CVE-2026-123489

| EUVDEUVD-2026-118289 HIGH
SQL Injection (CWE-89)
2026-11-06 VulnCheck GHSA-w2f7-mc8w-f637
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Craft control panel
  2. Delivery
    Craft malicious elementIds criteria array
  3. Exploit
    Pass orderBy/where via getNext()/getPrev()
  4. Execution
    Bypass cleanseConfig sanitization
  5. Persist
    Execute raw SQL via ids()
  6. Impact
    Infer database contents through conditional oracle

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

Requires an authenticated Craft control panel user account (PR:L) and the Twig sandbox code path that renders the attacker's elementIds value as a sandboxed object template on the relational-condition request path - the specific feature that exposes getNext() and getPrev() via AllowedInSandbox. Exploitation works against affected versions (4.0.0 before 4.18.9, 5.0.0 before 5.11.2) because ComponentHelper::cleanseConfig() fails to strip SQL-bearing element-query properties (orderBy, where, having, join, select); a value with an opening parenthesis is preserved by Yii as a raw order expression and executed by ids(). Limiting factors: the attacker must already have valid control panel credentials (no anonymous access), impact is a confidentiality oracle under the Craft DB account rather than direct write/RCE, and the only complete fix per the vendor is updating to 4.18.9 or 5.11.2.

Impact

This is a real but bounded priority, not a drop-everything emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N) scores 7.1 and is internally consistent with the description: network-reachable, low complexity, but requiring authenticated access (PR:L) to the Craft control panel, which materially narrows the attacker population to users who already hold a valid CP account. The dominant impact is confidentiality (VC:H) via a conditional SQL oracle; integrity is only low (VI:L) and availability is none (VA:N), matching a blind-injection read primitive rather than data destruction or RCE. No EPSS score, no CISA KEV listing, and no SSVC automatable/exploitation fields were supplied, so widespread automated exploitation cannot be inferred from the data. The vuln.today decision label is 'this_week' and the report comes from VulnCheck, indicating credible analyst attention rather than confirmed mass exploitation. In short: authentication requirement plus confidentiality-only impact keep this below critical, but a working, vendor-confirmed injection primitive against a known CMS warrants prompt patching within the vendor's and aggregator's suggested week-level window.

Exploit ScenarioDerived

An attacker who already holds any authenticated Craft control panel account issues a relational-condition request whose elementIds value is rendered as a sandboxed template, invoking the sandbox-exposed getNext()/getPrev() methods with a crafted criteria array containing a SQL-bearing property such as orderBy. Because cleanseConfig() does not strip these properties, the raw order expression is passed through Craft::configure() and executed when the element query calls ids(), yielding a conditional true/false SQL oracle under the Craft database account. No public exploit code is identified, and the attack requires valid CP credentials, but the trigger path is fully described in the vendor advisory.

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

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

Alert me

AnalysisAIv1 – Nov 06, 2026

Blind SQL injection in Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 lets an authenticated control panel user obtain a conditional SQL oracle under the Craft database account by supplying crafted elementIds through the sandboxed getNext()/getPrev() template path. The flaw is caused by insufficient cleansing of SQL-bearing criteria such as orderBy, where, having, join, and select before Craft::configure(), and the assessed impact is high confidentiality with limited integrity impact. The risk is a real but bounded priority rather than a drop-everything emergency; no public exploit was identified at time of analysis, and fixed versions are 4.18.9 and 5.11.2.

RemediationAI

Apply the vendor fix by updating Craft CMS to 4.18.9 for the 4.x branch or 5.11.2 for the 5.x branch; the GHSA-f6gf-r952-rxg6 advisory states updating is the only complete fix. No patch-level workaround is documented in the available sources. Because exploitation requires an authenticated control panel account, reducing control panel access to trusted users limits exposure until the update is deployed, but this is a compensating step and not a substitute for the fix. Advisory: https://github.com/craftcms/cms/security/advisories/GHSA-f6gf-r952-rxg6.

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-based content management system that uses Twig templating and Yii's query builder. The relational-condition request path renders an attacker-controlled elementIds value as a sandboxed object template, exposing getNext() and getPrev() through AllowedInSandbox. Those methods accept an arbitrary criteria array and pass it to Craft::configure() after ComponentHelper::cleanseConfig(), which removes event and behavior keys but does not remove SQL-bearing element-query properties such as orderBy, where, having, join, or select. A value containing an opening parenthesis is preserved by Yii as a raw order expression and executed when the relative-element query calls ids(), yielding a blind SQL injection (CWE-89) under the Craft database account. The affected package is composer/craftcms/cms, matching CPE cpe:2.3:a:craftcms:cms.

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 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.1 HIGH

Network-reachable control panel endpoint with low complexity, but requires an authenticated CP account (PR:L); impact is a confidentiality oracle (C:H) with limited integrity and no availability effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/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
Low
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 7.1

DescriptionCVE.org

Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 contains a blind SQL injection vulnerability because the sandbox-exposed getNext() and getPrev() methods pass arbitrary criteria arrays to Craft::configure() without removing SQL-bearing properties such as orderBy and where. Authenticated control panel users can supply a crafted elementIds value, rendered as a sandboxed template, to obtain a conditional SQL oracle under the Craft database account.

Technical POC Analysis

CWE-89 (SQL injection).

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.0.0 to 4.18.8 and 5.0.0 to 5.11.1 contain a high-severity blind SQL injection flaw that requires an authenticated control panel user to exploit. This could allow a malicious insider or compromised account to extract sensitive data from the underlying database, affecting data confidentiality. While no public exploit exists, the risk is real and warrants prioritized patching, especially for organizations with many CMS editors.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular commercial PHP CMS, common but not ubiquitous across deployments
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.2%
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
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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